Vendor categories

Delete a vendor category

Deletes a vendor category. Requires the vendor_categories:delete permission.

DELETE
https://services.magicdoor.com/maintenance/company-portal/vendors/categories/{vendorCategoryId}

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

vendorCategoryIdstringrequired

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

example: 1829110384726355968

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 `vendor_categories:delete` permission.

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