Maintenance request categories

Delete a maintenance request category

Deletes a maintenance request category. Requires the maintenance_request_categories:delete permission.

DELETE
https://services.magicdoor.com/maintenance/company-portal/maintenance-requests/categories/{maintenanceRequestCategoryId}

Authorization

Authorizationstringrequired
Bearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.

Path parameters

maintenanceRequestCategoryIdstringrequired

The category to delete. A Snowflake id, sent as a decimal string.

example: 1830472847398404096

Response

200 · The category was deleted. The response has no body.

401 · The request carried no valid access token.

403 · The token is not a property manager token, or it lacks the `maintenance_request_categories:delete` permission.

404 · No such category, or it belongs to another company.