provider Shifts PATCH /shifts/{shift_id}
@utdk/front /shifts/{shift_id}
Update shift
Update a shift. Required scope: `shifts:write`
shift_id path required
The Shift ID
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateShift
PATCH/shifts/{shift_id}
Update a shift. Required scope: `shifts:write`

Parameters

required

The Shift ID

Input

Name of the shift

Color of the shift

A timezone name as defined in the IANA tz database

List of all the teammate ids who will be part of this shift. Alternatively, you can supply emails as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.updateShift({
  "shift_id": "shf_123"
})