Delete Tenant
Delete a tenant by passing it’s ID. Deletion does not affect in-flight notifications, which complete with the settings that were in effect at trigger time. When the tenant has sub-tenants, use children_action in the request body to control what happens to them.
Authorizations
Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.
Path Parameters
unique identifier of the tenant to delete
Body
Only applies when the tenant has sub-tenants. orphan (default) promotes sub-tenants to root tenants. reassign moves sub-tenants under reassign_to tenant. delete deletes every sub-tenant in the subtree. Ignored for tenants with no sub-tenants.
orphan, reassign, delete "reassign"
Target parent when children_action = reassign. Must reference an existing tenant that is not the deleted tenant or one of its descendants. If omitted, sub-tenants are promoted to root tenants (same as orphan). See sub-tenants.
"acme-corp"
Response
204 - No Content