API referenceMaintenance
Cancel Work Order
Cancel a work order by archiving it. App connections need the booking:write or inventory:write scope.
POST
/maintenance/{id}/cancelcurl -X POST "https://dash.lockii.app/api/v1/maintenance/{id}/cancel" \
-H "x-api-key: $LOCKII_API_KEY"Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Parameters
idstringpathrequiredWork order ID
Response
application/json
JSON result for this operation.
object
{}