Delete Tenant
Changed onDelete 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.
delete/v1/tenant/{tenant_id}/
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tenant_idstring required
unique identifier of the tenant to delete
Request body
Example request
{
"children_action": "reassign",
"reassign_to": "acme-corp"
}Response
204 - No Content
Changes
- info
added optional request body
- info
added the non-success response with the status
- info
- breaking
api path removed without deprecation
- info
endpoint added
- breaking