v1/mcp/preview/delete_staff_shifts

Compute the preview envelope for deleteStaffShifts.

Body Params

Compute the Preview envelope for deleteStaffShifts.

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.

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

Signed preview token + impact summary

400

MCP preview requires an EmploymentsApiToken

401

401 Unauthorized

403

Forbidden - caller lacks manage on one or more shifts

404

One or more staff_shifts not found

422

One or more shiftplans are locked / span multiple locations

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