Restore a suspended team
const url = 'https://api.deploybase.eu/api/v1/api/v1/admin/teams/example/unsuspend';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/admin/teams/example/unsuspend \ --header 'Authorization: <Authorization>'Lifts a suspension: the Zitadel organization is reactivated, every disabled Edge Rule is switched back on with its original GUID and ordering, each custom domain’s pull zone is re-pointed at its live deployment, the team’s HTTP functions are redeployed, and the team is emailed an all-clear. Safe to re-run; a call against a team that is not suspended is a no-op.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Team ID (UUID)
Responses
Section titled “ Responses ”OK
object
object
object
object
Production is one of: “disabled”, “restored”, “no_rule” (the project has no production Edge Rule to touch), “no_live_deployment” (nothing to restore it to), “not_processed: …” (the context budget ran out first), or “error: …”.
Suspended is the team’s state AFTER the call.
TransitionedNow is whether THIS call moved the flag. False on a re-run, which is also what keeps the statement of reasons from being sent twice.
Example generated
{ "data": { "functions_error": "example", "functions_reconciled": true, "hostnames_purged": 1, "notification_error": "example", "notification_sent": true, "projects": [ { "domains_processed": 1, "errors": [ "example" ], "previews_processed": 1, "production": "example", "project_id": "example", "project_slug": "example", "shares_processed": 1 } ], "purge_errors": [ "example" ], "suspended": true, "transitioned_now": true, "zitadel_error": "example", "zitadel_org_deactivated": true }, "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}Bad Request
object
object
Example generated
{ "code": "example", "details": "example", "error": "example", "meta": { "request_id": "example", "timestamp": "example", "trace_id": "example" }}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" }}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" }}