Platform API reference

Platform API · Account

delete/v1/accountAuth

Delete the calling account. Auto-promotes the oldest admin (or oldest non-self member) to owner in any workspace where the departing account is the sole owner. Linked provider grants that require server-side revocation (Sign in with Apple) are revoked with the provider.

Response · 204

Account deleted. All sessions revoked, and any linked Sign in with Apple grant is queued for revocation with Apple. The revocation is durable and retried in the background, so a 204 does not depend on Apple being reachable.

Example

Request

DELETE https://api.platform-auth.productcraft.co/v1/account
Authorization: Bearer YOUR_TOKEN