Skip to content
Sendtier Docs
API reference

Restore an organization during the deletion window

Source: OpenAPI (openapi/openapi.yaml).

curl -X POST "https://api.sendtier.example/organizations/string/restore" \  -H "Authorization: Bearer st_live_REPLACE_ME"
Empty
POST
/organizations/{tenant_id}/restore

Owner only; the path must match the selected tenant. Available strictly before the purge time. Restores sending and previously active webhooks; revoked API keys must be replaced. Restoring an active organization succeeds. Pending webhook deliveries resume.

Authorization

dashboardToken
headerAuthorizationBearer <token>

Dashboard server token: EdDSA Ed25519, issuer is the dashboard origin, audience sendtier-api, iat and exp are required with a maximum lifetime of 15 minutes, sub is the identity subject, email is required. Sendtier-Tenant selects a membership; omission selects the sole membership. Without a selected tenant only GET /me and POST /organizations are available. Sendtier-Mode is live (default) or test; test mode cannot create live keys. Owners, admins and developers have full access. Viewers may only GET or HEAD.

Path Parameters

tenant_id*string

Header Parameters

Idempotency-Key?string

Repeated POST with the same key within 24 h returns the first response.

Lengthlength <= 255

Response Body

Organization restored.