Allocation Windows
Delete an Allocation Window
Changed onIn ServiceM8, deleting a record sets its active field to 0. Inactive records are still accessible on the API, but are hidden in the UI. Inactive records can be restored by setting their active field to 1.
OAuth Scope
This endpoint requires the following OAuth scope manage_schedule.
delete/allocationwindow/{uuid}.json
Request
- Base URLhttps://api.servicem8.com/api_1.0
- URLhttps://api.servicem8.com/api_1.0/allocationwindow/{uuid}.json
- Auth
- API key in header X-Api-Key
- or OAuth 2Authorization code: https://api.servicem8.com/oauth/authorizeToken URL: https://api.servicem8.com/oauth/access_token scopes: manage_schedule
Path parameters
uuidstring uuid required
UUID of the Allocation Window
Response
Allocation Window successfully archived (soft deleted)
Example response
{
"message": "OK"
}Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
the security scope
manage_schedulewas added to the endpoint's security schemeoauth2
- info