Delete Schedule Template
Permanently delete a saved schedule template.
Endpointโ
DELETE /v1/staff/schedule/templates/{id}
Authenticationโ
Requires an API key with the staff:write scope.
Path Parametersโ
| Parameter | Type | Description |
|---|---|---|
id | integer | Template ID |
Responseโ
Success (200 OK)โ
{
"data": {
"deleted": true
},
"meta": {
"request_id": "req_abc123",
"timestamp": "2026-04-01T09:00:00+00:00"
}
}
Errorsโ
| Status | Code | Description |
|---|---|---|
| 401 | authentication_required | No API key provided |
| 401 | invalid_api_key | Invalid API key |
| 403 | insufficient_scope | API key lacks staff:write scope |
| 404 | not_found | Template not found or belongs to another supplier |
Example Requestโ
curl -X DELETE "https://app.equipdash.com/api/v1/staff/schedule/templates/3" \
-H "Authorization: Bearer eqd_live_abc123xyz789..."