Skip to main content
PATCH
Update Provider

Update Provider Configuration

Partially update an existing telephony provider configuration. This is useful for rotating credentials such as the auth_token without deleting and recreating the entire configuration.
Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.

Path Parameters

You can get the provider configuration id by hitting the Get All Providers API.

Headers

Request Body

All fields are optional - include only the fields you wish to update.

Response Fields

Provider Config Object Fields

Common Error Codes

Code Examples

Best Practices

  1. Partial Updates: Only include fields you want to change - PATCH supports partial updates
  2. Credential Rotation: Regularly rotate auth_token values for security without disrupting bridges
  3. Security: Never expose auth_token values in logs or responses
  4. Verify Before Update: Use Get Provider by ID to confirm the configuration exists before patching
  5. Error Handling: Handle 404 and 400 errors to catch invalid IDs or credential formats

Authorizations

Authorization
string
header
required

Format: Token

Headers

Org-Handle
string
required

Organization domain handle

Example:

"unpod.tv"

Path Parameters

id
integer
required
Example:

42

Body

application/json
auth_token
string
Example:

"your_new_auth_token_here"

account_sid
string
Example:

"ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Response

Provider updated