Skip to content

Freeze an account after an unwanted sign-in email change

POST
/api/v1/public/account-freeze
curl --request POST \
--url https://api.deploybase.eu/api/v1/api/v1/public/account-freeze \
--header 'Content-Type: application/json' \
--data '{ "token": "q3J9yPbW0x7mD2cVn5hLkA1tR8sE4uZ6oGfI-_aBcDe" }'

The “This wasn’t me” link in the notice mailed to an account’s previous address after its sign-in address changed. Deactivates the account and signs it out everywhere until support has checked it with the owner; the sign-in address is not changed back. The token is single-use and valid for 7 days. Every unusable token (malformed, unknown, expired or used) gets the same answer. No authentication required. Limited to 10 per hour per IP.

The token from the freeze link

Media type application/json
object
token
string

Example

q3J9yPbW0x7mD2cVn5hLkA1tR8sE4uZ6oGfI-_aBcDe

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
frozen
boolean

Example

{
"data": {
"frozen": true
}
}

Malformed body (INVALID_INPUT), or FREEZE_LINK_INVALID

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Too many requests from this IP; see Retry-After

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Internal Server Error

Media type application/json
object
code
string
details
docs_url
string
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
next_actions
Array<object>
object
action
string
cli
string
description
string
http
string
tool
string
reason

The structured outcome (ADR-030, DEP-965). Optional and additive: only the operations endpoints fill them so far, and a client that does not know them reads the rest as before.

string
who_acts
string

Example generated

{
"code": "example",
"details": "example",
"docs_url": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
},
"next_actions": [
{
"action": "example",
"cli": "example",
"description": "example",
"http": "example",
"tool": "example"
}
],
"reason": "example",
"who_acts": "example"
}

Live 582ac705 built