Skip to content

Cancel a pending deletion during the grace period

DELETE
/v1/account/deletion
curl --request DELETE \
--url https://api.supposing.app/v1/account/deletion

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
requested_at
required
Requested At
Any of:
string format: date-time
due_at
required
Due At

When everything is deleted; null if no deletion is pending.

Any of:
string format: date-time
requested_by
required
Requested By
Any of:
string
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
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

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
hint
Hint

What to do next.

Any of:
string
details
Details

Per-field problems, for invalid_request.

Any of:
Array<object>
ErrorDetail
object
field
required
Field

Dotted path to the field, e.g. ranking.rubric.

string
message
required
Message
string

Example generated

{
"code": "example",
"message": "example",
"hint": "example",
"details": [
{
"field": "example",
"message": "example"
}
]
}