import plivo

client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.endpoints.update(
    endpoint_id='14659095951490',
    alias='Double time.', )
print(response)
HTTP Status Code: 204

Updates an endpoint’s password or alias, or the application attached to it.

API Endpoint
POST
https://api.plivo.com/v1/Account/{auth_id}/Endpoint/{endpoint_id}/

Arguments

ArgumentsDescription
password (string)Password for your endpoint username. It should be at least five characters long.
alias (string)Alias for the endpoint.
Allowed Values:
  • Alphabets (uppercase and lowercase)
  • Numbers (0–9)
  • Hyphen - and underscore _ only
app_id (string)ID of the application attached to the endpoint.

Returns

Returns a confirmation that the object is updated.

import plivo

client = plivo.RestClient('<auth_id>','<auth_token>')
response = client.endpoints.update(
    endpoint_id='14659095951490',
    alias='Double time.', )
print(response)
HTTP Status Code: 204