provider Time Off PATCH /time_offs/{time_off_id}
@utdk/front /time_offs/{time_off_id}
Update time off
Update a time off. Required scope: `time_off:write`
time_off_id path required
The time off 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.

updateTimeOff
PATCH/time_offs/{time_off_id}
Update a time off. Required scope: `time_off:write`

Parameters

required

The time off ID

Input

Name of the time off

Timestamp when the time off starts (in seconds)

Timestamp when the time off ends (in seconds), or null to clear it

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.updateTimeOff({
  "time_off_id": "vcr_abc123"
})