Freeze an account after an unwanted sign-in email change
const url = 'https://api.deploybase.eu/api/v1/api/v1/public/account-freeze';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"token":"q3J9yPbW0x7mD2cVn5hLkA1tR8sE4uZ6oGfI-_aBcDe"}'};
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.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.
Request Body
Section titled “ Request Body ”The token from the freeze link
object
Example
q3J9yPbW0x7mD2cVn5hLkA1tR8sE4uZ6oGfI-_aBcDeResponses
Section titled “ Responses ”OK
object
object
object
Example
{ "data": { "frozen": true }}Malformed body (INVALID_INPUT), or FREEZE_LINK_INVALID
object
object
object
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.
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
object
object
object
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.
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
object
object
object
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.
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