Skip to main content
PATCH
Update an Apple Messages for Business agent

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Headers

X-Test-Mode
enum<string>

Sandbox opt-in for Clerk-session-authenticated requests. Set to true to route the call through the test-mode pipeline: no real provider delivery, no credits deducted, response meta.test_mode: true. Ignored for live API keys (dv_live_sk_*) — server-to-server clients must use a test-prefixed key (dv_test_sk_*) to exercise sandbox. Test-prefixed keys unconditionally enable sandbox regardless of this header.

Available options:
true,
false

Path Parameters

id
string<uuid>
required

The AMB agent id (UUID).

Body

application/json
display_name
string

New name (1–200 chars).

secret_key
string

Rotated base64 secret (16–2048 chars); encrypted at rest.

msp_id
string | null

New MSP id, or null to clear.

status
enum<string>

Approval-state transition.

Available options:
pending,
approved,
suspended
capabilities
object
logo_url
string<uri> | null

New HTTPS logo URL, or null to clear.

Response

One AMB agent record in data, plus the standard request meta envelope.

One AMB agent record in data, plus the standard request meta envelope.

data
object
meta
object