Voice OUT Trunk Regenerate Credentials

POST https://{{host}}/v3/voice_out_trunk_regenerate_credentials

Regenerates the username and password of voice_out trunk with new random string 10 symbols each.

Request Body Scheme

{

data (object, required) {

type (string, required): voiceouttrunkregeneratecredentials

relationships (object, optional) {

voiceouttrunk (object, optional): to-one
Linkage for Voice OUT Trunk Object

}

}

}

Request Body Example:

{
  "data": {
    "type": "voice_out_trunk_regenerate_credentials",
    "relationships": {
      "voice_out_trunk": {
        "data": {
          "id": "457bf47d-446d-41cd-91c3-dfbda7bf0753",
          "type": "voice_out_trunks"
        }
      }
    }
  }
}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring
Api-Keystring

RESPONSES

status: Created

{"data":{"id":"457bf47d-446d-41cd-91c3-dfbda7bf0753","type":"voice_out_trunk_regenerate_credentials"},"meta":{"api_version":"2021-12-15"}}