Update Bridge
Telephony & Bridges
Update Bridge
Update an existing telephony bridge configuration
PATCH
Update Bridge
Documentation Index
Fetch the complete documentation index at: https://docs.unpod.dev/llms.txt
Use this file to discover all available pages before exploring further.
Update Bridge
Partially update an existing telephony bridge’s configuration. Currently supports updating the bridge’s display name.Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| slug | string | Yes | Unique bridge slug |
You can get the bridge
slug by hitting the Get All Bridges API. The slug field in the response is your Bridge Slug.Headers
| Name | Type | Required | Description |
|---|---|---|---|
| Authorization | string | Yes | API Key format: Token <token> |
| Org-Handle | string | Yes | Organization domain handle |
| Content-Type | string | Yes | application/json |
Request Body
All fields are optional — include only the fields you wish to update.| Field | Type | Required | Description |
|---|---|---|---|
| name | string | No | Updated display name for the bridge |
Response Fields
| Field | Type | Description |
|---|---|---|
| status_code | integer | HTTP status code |
| message | string | Response message |
| data | object | Updated bridge details |
Bridge Object Fields
| Field | Type | Description |
|---|---|---|
| id | integer | Bridge unique identifier |
| name | string | Updated bridge display name |
| slug | string | Unique bridge slug identifier |
| numbers | array | List of assigned phone numbers |
Common Error Codes
| Status Code | Description |
|---|---|
| 200 | Success - Bridge updated successfully |
| 400 | Bad Request - Invalid update parameters |
| 401 | Unauthorized - Invalid or missing API token |
| 403 | Forbidden - Invalid organization handle |
| 404 | Not Found - Bridge not found |
| 500 | Internal Server Error - Server-side error |
Code Examples
Best Practices
- Partial Updates: Only include fields you want to change — PATCH supports partial updates
- Slug Immutable: The
slugcannot be changed after creation — use descriptive slugs from the start - Verify Before Update: Use Get Bridge by Slug to confirm the bridge exists before patching
- Error Handling: Handle 404 errors when the bridge slug is invalid or the bridge has been deleted
- Security: Keep API tokens secure and rotate them regularly