Skip to Content
Pouch
Admin organizations

Release an organization's suspension

POST
/v1/admin/organizations/{id}/release

Auth: Admin key.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Response Body

The organization, with changed. Releases a suspension of any source.

application/json
  1. response
id?string

Opaque id, prefixed org_.

name?string

Display name.

slug?string

URL slug.

provider_id?|

The assignment new domains bind to, or null when nothing is assigned.

managed_provider_id?|

The provider an admin manages it on: the shared provider for a shared row, else the row itself.

assignment_count?integer

Providers the organization's domains can bind to.

domain_count?integer

Domains in the organization.

suspension?|

source, reason and suspended_at while suspended, otherwise null.

address_limit?integer

Active addresses the organization may hold: its override, else the install's default.

address_daily_message_limit?integer

Messages one address may receive per UTC day: its override, else the install's default.

address_limit_override?|

The organization's own address limit. Null follows the install's default.

address_daily_message_limit_override?|

The organization's own daily limit. Null follows the install's default.

created_at?string

ISO 8601 timestamp.

updated_at?string

ISO 8601 timestamp.

changed?boolean

False when the organization was already in the requested state.

Example Request
curl -X POST 'https://pouch.example.com/v1/admin/organizations/string/release'
Example Response
{  "id": "string",  "name": "string",  "slug": "string",  "provider_id": "string",  "managed_provider_id": "string",  "assignment_count": 0,  "domain_count": 0,  "suspension": {},  "address_limit": 0,  "address_daily_message_limit": 0,  "address_limit_override": 0,  "address_daily_message_limit_override": 0,  "created_at": "string",  "updated_at": "string",  "changed": true}