curl -i --user AUTH_ID:AUTH_TOKEN \
    -H "Content-Type: application/json" \
    -d '{"authentication_needed": true, "username": "testcredential", "Password": "test12332434!"}'  \
    https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/URI/f19c4773-4ae6-4b75-92ea-9cf3ea4227d6/
{
  "api_id": "4e1f954c-baf3-11ec-bafe-0242ac110003",
  "message": "origination uri updated successfully.",
  "uri_uuid": "f19c4773-4ae6-4b75-92ea-9cf3ea4227d6"
}
Updates a credential name, username, or password. API Endpoint
POST
https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/URI/{URI_uuid}/

Arguments

name
string

Friendly name for the origination URI.

uri
string

FQDN or IP address of the VoIP infrastructure.

authentication_needed
boolean

Indicates whether authentication is required to access the VoIP infrastructure.
Allowed values: true, false
Defaults to false.

username
string

Username to authenticate inbound traffic. Required if authentication_needed is set to true.

password
string

Password to authenticate inbound traffic. Required if authentication_needed is set to true.

Returns

Returns a confirmation that the origination URI is updated.
curl -i --user AUTH_ID:AUTH_TOKEN \
    -H "Content-Type: application/json" \
    -d '{"authentication_needed": true, "username": "testcredential", "Password": "test12332434!"}'  \
    https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/URI/f19c4773-4ae6-4b75-92ea-9cf3ea4227d6/
{
  "api_id": "4e1f954c-baf3-11ec-bafe-0242ac110003",
  "message": "origination uri updated successfully.",
  "uri_uuid": "f19c4773-4ae6-4b75-92ea-9cf3ea4227d6"
}