Delete Shift
Changed onDeletes a shift by its UUID or composite recurrence ID. Use recurrenceEditOption to control the scope to delete one or many consecutive recurring shifts
OAuth Scopes: scheduling:shifts.write, time_tracking.write
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesscheduling:shifts.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_tracking.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The shift UUID, or the projected shift composite ID.
Query parameters
How should the shift be deleted? Choose 'instance' for deleting a single target shift, 'future' for deleting the target shift and all following shifts that are in the same recurrence, 'all' for deleting all shifts starting from now that are in the same recurrence as the target shift.
Response
Shift deleted successfully. No content returned.
Changes
- info
the security scope
scheduling:shifts.writewas added to the endpoint's security schemeoauth - info
the security scope
time_tracking.writewas removed from the endpoint's security schemeoauth
- info