Skip to main content
Changes a connection’s settings or rotates its credential. Send provider (it must match the connection’s) and only the fields to change; the rest keep their stored values. A new Retell, Vapi, ElevenLabs or Bland key is checked by listing agents first. Moving to agentScope ALL, or giving an ALL connection a new key, on an account with more agents than the project allows returns 400 too_many_agents, as does selecting more than 1,000. Set status to INACTIVE to pause syncing without deleting anything.
Calls PATCH /v1/connections/agent/{connectionId}

Arguments

string
required
The connection-id.

Request body

This endpoint accepts one of several request shapes, so the body is supplied as JSON through --data or on standard input rather than as individual flags.
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider
object
Requires provider

Example

Every command also takes the global options and sets one of the exit codes.