Delete this workspace, everything in it and its members' sign-in accounts, after a grace period. Type the workspace name to confirm
POST
/v1/account/deletion
const url = 'https://api.supposing.app/v1/account/deletion';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"confirm":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.supposing.app/v1/account/deletion \ --header 'Content-Type: application/json' \ --data '{ "confirm": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
DeletionIn
object
confirm
required
Confirm
The workspace’s name, typed exactly, to confirm.
string
Example generated
{ "confirm": "example"}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
DeletionStatus
Whether this workspace is due to be deleted. Until due_at the request can be cancelled.
object
workspace
required
Workspace
string
due_at
required
grace_days
required
Grace Days
integer
Example generated
{ "workspace": "example", "requested_at": "2026-04-15T12:00:00Z", "due_at": "2026-04-15T12:00:00Z", "requested_by": "example", "grace_days": 1}Client error. Branch on code; show message and hint.
Media typeapplication/json
Error
The body of every non-2xx response.
object
code
required
Code
Stable machine-readable code, e.g. dataset_not_found.
string
message
required
Message
string
details
Details
Per-field problems, for invalid_request.
Any of:
Array<object>
ErrorDetailobject
field
required
Field
Dotted path to the field, e.g. ranking.rubric.
string
message
required
Message
string
null
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}Server error.
Media typeapplication/json
Error
The body of every non-2xx response.
object
code
required
Code
Stable machine-readable code, e.g. dataset_not_found.
string
message
required
Message
string
details
Details
Per-field problems, for invalid_request.
Any of:
Array<object>
ErrorDetailobject
field
required
Field
Dotted path to the field, e.g. ranking.rubric.
string
message
required
Message
string
null
Example generated
{ "code": "example", "message": "example", "hint": "example", "details": [ { "field": "example", "message": "example" } ]}