Delete an org
At once, nothing serves it: not its routes, its API keys or its brands' issuers. It is purged 30 days later, and its issuer slugs are never used again. Needs `org.delete`, which only the owner has. Recorded as `org.deleted`.
/v1/orgs/{org}At once, nothing serves it: not its routes, its API keys or its brands' issuers. It is purged 30 days later, and its issuer slugs are never used again. Needs org.delete, which only the owner has. Recorded as org.deleted.
Authorization
bearer An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.
In: header
Path Parameters
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/v1/orgs/string"Change a member's role PATCH
Not the owner's, and never to owner: ownership is handed over. At most the caller's own permissions. Needs `org.members.edit`. Recorded as `member.role_assigned`.
Read the org's audit log GET
Newest first, filtered by action, actor, resource, brand and time. Needs `org.auditLog.view`. Rows are kept as long as the org's plan says: 7, 30 or 365 days, or for ever.