Update a channel
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://loading/api/v1/channels/ch_1234567890abcdef" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"organization_id": "string",
"test_mode": true,
"name": "string",
"type": "webrtc_voice",
"status": "active",
"provider": {
"name": "string",
"credentials_id": "string",
"config": {
"property1": null,
"property2": null
}
},
"settings": {
"recording": true,
"max_duration_s": 1,
"idle_timeout_s": 1
},
"metadata": {
"property1": null,
"property2": null
},
"created_at": "string",
"updated_at": "string",
"object": "channel"
}Empty