/v1/account/deletion-checkAuthCheck whether your account can be deleted
Lists the workspaces whose subscription would keep charging after you leave, the same check `DELETE /v1/account` makes. Read-only: call it before asking someone to confirm the deletion.
Response · 200 The check. `can_delete` is false when `blockers` is not empty.
can_delete*booleanWhether `DELETE /v1/account` would go ahead now (it still asks you to confirm it is you).
blockers*arrayWorkspaces that other members keep after you leave and whose subscription would keep charging: live (`active`, `trialing`, `past_due`) with no cancellation scheduled, and bought by you (or by nobody who stays, when you are an owner). Cancel each from Billing (it stays active until the end of the period), then delete your account. A workspace you are the only member of is deleted with your account and its subscription cancelled immediately, so it is never listed.
message*stringWhat to do about the blockers, when there are any.
Example
Request
GET https://api.platform-auth.productcraft.co/v1/account/deletion-check
Authorization: Bearer YOUR_TOKENResponse
{
"can_delete": false,
"blockers": [
{
"workspace_id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"slug": "string",
"plan": "pro",
"status": "active",
"current_period_ends_at": "2026-01-01T00:00:00.000Z"
}
],
"message": "string"
}