Request account deletion
const url = 'https://api.deploybase.eu/api/v1/api/v1/team/deletion';const options = {method: 'POST', 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 POST \ --url https://api.deploybase.eu/api/v1/api/v1/team/deletion \ --header 'Authorization: <Authorization>'Opens the cancelable 14-day grace period before the account and its data are erased (GDPR Art. 17). Nothing is deleted until the grace period expires: sites stay online, the subscription is untouched, and access is retained so the request can be cancelled. Idempotent — a second request returns the outstanding one without moving the deadline. Refused, with a route to support, when the team has a live paid subscription, has other members, or the caller is the only owner of another team.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”Accepted
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
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.
Example
{ "data": { "job": { "progress": [ { "status": "pending" } ], "status": "pending" }, "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" }}Not Found
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" }}