Update a provider
Auth: Admin key.
New credentials are checked live before they replace the old ones. On a shared provider they replace every organization's copy too.
bearerAuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
application/json- body
name?stringNew label for this provider.
1 <= length <= 200concurrency?integerConcurrent sends allowed. On a shared provider, every organization's assignment gets it too.
1 <= value <= 1000settings?Adapter-specific non-secret config, such as a webhook public key. Only providers serving one organization take it.
credentials?Adapter-specific credentials. Checked live before they're stored, and never returned.
default_for_new_organizations?booleanWhether new organizations are assigned this provider. At most one provider has it; setting it clears it elsewhere.
The updated provider. credentials_verified is present only when credentials changed.
application/json- response
id?stringOpaque id, prefixed pac_.
adapter?stringProvider adapter: ses, mailpace, cloudflare or mock.
name?stringLabel for this provider.
kind?stringshared serves every assigned organization, each isolated at the provider. single serves the one organization it lives in.
"shared""single"organization_id?|The organization a single provider serves. Null for a shared one.
organization_count?integerOrganizations assigned this provider.
default_for_new_organizations?booleanWhether new organizations are assigned this provider.
identity?|The provider's own provider id, such as the AWS account number. Null until the health check reads it.
settings?Non-secret provider config. Never credentials.
concurrency?integerConcurrent sends allowed.
backoff_until?|ISO 8601 timestamp the worker skips this provider until, or null.
status?stringready, or the most urgent entry in issues. converting replaces needs_conversion while a conversion runs.
"ready""converting""needs_conversion""credentials_failing""backing_off""setting_up""quota"issues?array<string>Everything that needs attention, most urgent first: needs_conversion, credentials_failing, backing_off, setting_up, quota (80% of the daily quota).
health?The last check: ok (boolean or null), detail and checked_at.
conversion?|The latest conversion run, as GET /v1/admin/providers/:id/convert returns it.
created_at?stringISO 8601 timestamp.
updated_at?stringISO 8601 timestamp.
credentials_verified?|Present when the write stored credentials. true means the live check passed; null means the adapter can't check itself.
curl -X PATCH 'https://pouch.example.com/v1/admin/providers/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "string", "adapter": "string", "name": "string", "kind": "shared", "organization_id": "string", "organization_count": 0, "default_for_new_organizations": true, "identity": "string", "settings": {}, "concurrency": 0, "backoff_until": "string", "status": "ready", "issues": [ "string" ], "health": {}, "conversion": {}, "created_at": "string", "updated_at": "string", "credentials_verified": true}List every provider GET
Auth: Admin key.
Adopt a domain the provider already holds POST
Auth: Admin key. Tags the provider's existing domain for the organization and attaches it, keeping its signing keys, so the domain never stops sending. POST /v1/domains answers domain_unavailable for the same name: adoption is admin-only. An identity tagged for another organization stays refused.