Cancel account deletion
const url = 'https://api.deploybase.eu/api/v1/api/v1/team/deletion';const options = {method: 'DELETE', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.deploybase.eu/api/v1/api/v1/team/deletion \ --header 'Authorization: <Authorization>'Clears an outstanding request and returns the account to normal. Nothing was deleted during the grace period, so this restores the account exactly as it was, subscription included. 409 once the purge has started — from that point it cannot be undone.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”OK
object
object
object
AlreadyPending marks an idempotent re-request: the response describes the request that was already outstanding, and the clock was NOT reset.
object
Kind is copied from teams.deletion_kind at claim time and decides Progress (DEP-763). Rows from before DEP-763 default to account in the database.
object
object
RequestedBy is copied from teams.deletion_requested_by at claim time, so the job still names the requester after the teams row is anonymised.
Kind is which erasure was requested: account (the team and the requester’s account) or team (this team only). DEP-763.
Example
{ "data": { "job": { "kind": "account", "progress": [ { "status": "pending" } ], "status": "pending" }, "kind": "account", "status": "active" }}Unauthorized
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Forbidden
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Conflict
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Internal Server Error
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Service Unavailable
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Live a8b7eb1d built