Skip to main content

update voice credentials for given department

update voice credentials for given department

Path Parameters
    departmentUUID string required
    voiceCredentialsUUID string required
Request Body required
    accounstSid string
    accountPassword string
    brokerNumber string
    useForOutgoingCommunication boolean
    useForStickiness boolean
    isHosted boolean
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode string
    errorDescription string
    errorUID string
  • ]
  • warnings object[]
  • Array [
  • warningCode string
    warningDescription string
  • ]
PUT /departments/:departmentUUID/voicecredentials/:voiceCredentialsUUID

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/communications
Username
Password
departmentUUID — path required
voiceCredentialsUUID — path required
Body required
{
"accounstSid": "string",
"accountPassword": "string",
"brokerNumber": "string",
"useForOutgoingCommunication": true,
"useForStickiness": true,
"isHosted": true
}
curl / cURL
curl -L -X PUT '/communications/departments/:departmentUUID/voicecredentials/:voiceCredentialsUUID' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"accounstSid": "string",
"accountPassword": "string",
"brokerNumber": "string",
"useForOutgoingCommunication": true,
"useForStickiness": true,
"isHosted": true
}'