Latest

Update a Credential

Updates a credential name, username, or password.

API Endpoint

POST https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/Credential/{credential_uuid}/

Arguments

namestring

Friendly name for the credentials list.

usernamestring

Username to be sent in response to an auth challenge of the SIP INVITE.

Passwordstring

Password to authenticate the SIP request.

Returns

Returns a confirmation that the credential was updated.

Response

{
  "api_id": "4e1f954c-baf3-11ec-bafe-0242ac110003",
  "message": "Credential updated successfully.",
  "credential_uuid": "f19c4773-4ae6-4b75-92ea-9cf3ea4227d6"
}
1
2
3
4
curl -i --user AUTH_ID:AUTH_TOKEN \
    -H "Content-Type: application/json" \
    -d '{"username": "testcredential", "Password": "test12332434!"}'  \
    https://api.plivo.com/v1/Account/{auth_id}/Zentrunk/Credential/f19c4773-4ae6-4b75-92ea-9cf3ea4227d6/