Lease template categories

Delete a lease template category

Removes a lease template category.

DELETE
https://api.portal.magicdoor.com/company-app/lease-templates/categories/{leaseTemplateCategoryId}

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

leaseTemplateCategoryIdstringrequired

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

example: 1844019384756201984

Response

200 · The category was deleted. No body is returned.

401 · The access token is missing, expired, or not for this company.

404 · No lease template category matched the id, or it belongs to another company.