Schedule organization deletion
Source: OpenAPI (openapi/openapi.yaml).
curl -X DELETE "https://api.sendtier.example/organizations/string" \ -H "Authorization: Bearer st_live_REPLACE_ME" \ -H "Content-Type: application/json" \ -d '{ "confirm": "string" }'{ "purge_at": "2019-08-24T14:15:22Z"}Owner only; the path must match the selected tenant. Confirm the exact organization name. Revokes all API keys permanently, disables webhooks and rejects new sends, invitations, invitation acceptance and member changes immediately. Unused invitations can still be revoked. Repeating deletion preserves the original purge time. Purge starts after 30 days.
dashboardTokenAuthorizationBearer <token>Dashboard server token: EdDSA Ed25519, issuer is the dashboard origin, audience sendtier-api, iat and exp are required with a maximum lifetime of 15 minutes, sub is the identity subject, email is required. Sendtier-Tenant selects a membership; omission selects the sole membership. Without a selected tenant only GET /me and POST /organizations are available. Sendtier-Mode is live (default) or test; test mode cannot create live keys. Owners, admins and developers have full access. Viewers may only GET or HEAD.
tenant_id*stringapplication/json- body
confirm*stringDeletion scheduled.
application/json- response
purge_at*stringdate-time