Retry a failed account purge
POST
/api/v1/team/deletion/retry
const url = 'https://api.deploybase.eu/api/v1/api/v1/team/deletion/retry';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/retry \ --header 'Authorization: <Authorization>'Resets the failed steps of the account purge job and re-queues it; completed steps are not re-run. A job that is pending, running or blocked is returned unchanged — a blocked job needs its precondition resolved, not a rerun.
Authorizations
Section titled “ Authorizations ”Responses
Section titled “ Responses ”Accepted
Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
attempts
integer
created_at
string
error_message
string
finished_at
string
id
string
next_attempt_at
string
progress
Array<object>
object
counts
object
key
additional properties
integer format: int64
error
string
key
string
label
string
status
string
requested_by
RequestedBy is copied from teams.deletion_requested_by at claim time, so the job still names the requester after the teams row is anonymised.
string
started_at
string
status
string
team_id
string
updated_at
string
Example
{ "data": { "progress": [ { "status": "pending" } ], "status": "pending" }}Unauthorized
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Forbidden
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Not Found
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Internal Server Error
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Service Unavailable
Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}