v1/shift_presets/{id}

Update a shift preset.

Path Params
int32
required
≥ 1

Id of the shift preset

Body Params

Update a shift preset.

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.

int32
≥ 1

ID of a shyftplan account.

int32
≥ 1

Break duration in minutes

string

Color (HEX format, e.g. #FF00FF). Default colors are: #cddbfc, #bcc5d0, #ffd5f6, #e0eafc, #b6b7ba, #d8c7fc, #b8d0d9, #ebcefc, #ffdee9, #d4d9eb, #dbd8dc, #cddbb5, #f7dbad, #d3caba, #f8e6d1, #c4e0c8, #e2d6c9, #c2dcda, #f1ccb7, #e1bdbe

string

Optional MCP-safety idempotency key. When present with API-token auth, repeated calls with the same fingerprint within the TTL window replay the cached response instead of re-creating the shift preset. Ignored for session auth.

string

Name for the shift preset (max 256 characters)

string

ShortName for the shift preset (max 3 characters)

date-time

Date-time (ISO 8601) for the begin of the object's span.

date-time

Date-time (ISO 8601) for the end of the object's span.

tag_ids
array of objects

Filter for a list of tag IDs.

tag_ids
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json