v1/mcp/preview/delete_shifts

Compute the Preview envelope for deleteShifts.

Body Params

Compute the Preview envelope for deleteShifts.

int32
required
≥ 1

ID of a shyftplan account.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

boolean
Defaults to false
shift_ids
array of objects
required
shift_ids*
Responses
201

Signed preview token + impact summary

400

MCP preview requires an EmploymentsApiToken

401

401 Unauthorized

403

Forbidden - caller lacks manage_shifts on one or more shifts

404

One or more shifts not found

422

One or more shiftplans are locked

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!