Update the organization
Auth: Bearer key with no domain scope.
Lowering body_retention_days shortens how long every body stays readable, existing ones included. The slug is read-only here.
bearerAuthorizationBearer <token>An API key in the Authorization header.
application/json- body
name?stringDisplay name for the organization.
1 <= length <= 200body_retention_days?integerDays a message body stays readable before the worker shreds its key. 7 up to body_retention_max_days, the install's ceiling: 365 unless an admin changed it.
7 <= value <= 730The updated organization.
application/json- response
id?stringOpaque id, prefixed org_.
name?stringDisplay name.
slug?stringURL slug. Read-only here; it addresses dashboard screens.
body_retention_days?integerDays a message body stays readable before the worker shreds its key.
body_retention_max_days?integerThe install's ceiling on body_retention_days. Bodies stay readable for the smaller of the two.
address_limit?integerActive addresses the organization may hold. Set by an admin.
address_daily_message_limit?integerMessages one address may receive per UTC day. Set by an admin.
suspended?booleanTrue while the organization can't send. An admin releases it.
created_at?stringISO 8601 timestamp.
updated_at?stringISO 8601 timestamp.
address_counts?With include=address_counts. The organization's addresses by status, counted on read. active is what address_limit caps.
curl -X PATCH 'https://pouch.example.com/v1/organization' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "name": "string", "slug": "string", "body_retention_days": 0, "body_retention_max_days": 0, "address_limit": 0, "address_daily_message_limit": 0, "suspended": true, "created_at": "string", "updated_at": "string", "address_counts": { "active": 0, "expired": 0, "revoked": 0 }}