Skip to main content
PUT
Update a credential
Updates an existing credential’s password, enabled status, or description. Use this endpoint to rotate passwords, enable or disable credentials, or update descriptive information.
Authentication required:
  • X-Auth-ID - Your account Auth ID
  • X-Auth-Token - Your account Auth Token
  • Content-Type: application/json
Important Limitation: The username cannot be changed after credential creation. To use a different username, create a new credential and delete the old one.Security Note: When updating the password, ensure it meets minimum security requirements (8+ characters). The new password is not returned in the response.

Request Parameters

All parameters are optional. Include only the fields you want to update.
Note: The username field cannot be updated. It is immutable after credential creation.

Response

Returns the updated credential object. The password is not included in the response. The updated_at timestamp reflects when the change was made.
Response - 200 OK

Examples

cURL - Update Password

cURL Request

cURL - Disable Credential

cURL Request

cURL - Re-enable Credential

cURL Request
Best Practices:
  • Rotate passwords quarterly or when a device is compromised
  • Use the enabled flag to disable credentials temporarily instead of deleting them
  • Update the description when making changes to document the reason
  • Notify affected users before changing passwords to prevent service disruption
Error Response (404): If the credential_id does not exist or does not belong to the specified trunk, the API returns a 404 Not Found error.

Authorizations

X-Auth-ID
string
header
required

Your Vobiz account Auth ID

X-Auth-Token
string
header
required

Your Vobiz account Auth Token

Path Parameters

auth_id
string
required

Your account Auth ID

Example:

"MA_XXXXXX"

credential_id
string
required

Body

application/json
password
string
required

Response

200 - application/json

Credential updated

id
string
required
account_id
string
required
username
string
required
password
string
required
realm
string
required
enabled
boolean
required
created_at
string
required
updated_at
string
required