Menu

Cancel a tenant workspace's deletion

POST/v1/workspaces/{externalId}/cancel-deletion

Requires an API key with the workspaces:manage scope. About keys and scopes

Partner keys only. Keeps the workspace. New sends work again; messages skipped while it was being deleted are not sent.

Path parameters

externalIdstringrequired

Returns

Returns 200 OK with a Workspace in data. Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

externalIdstringrequired

Your own id for the tenant.

namestringrequired
countrystringrequired

Two-letter ISO 3166-1 country code.

2–2 characters

timezonestringrequired

IANA timezone; decides local-time sends and report days.

statusstringrequired

suspended refuses every send in the workspace until it is resumed; deleting refuses them too, and the workspace is purged unless the deletion is cancelled.

one of active, suspended, deleting

suspendedAtstring | nullrequired

When it was suspended; null if not.

date-time

deletionRequestedAtstring | nullrequired

When deletion was asked for; null if not.

date-time

createdAtstringrequired

date-time