Update Phone Number Alias

PUT https://api.cm.com/voice-phonenumberapi/v1/phonenumberranges/{accountGuid}/phonenumbers/{phonenumber}/customeralias

Parameters

TypeNameDescriptionSchema
PathaccountGuid
required
Your account identifier. This can be either a voice account ID, or your account ID. See Authentication for more information.string (uuid)
Pathphonenumber
required
Your phone number.long

Request

Request body

NameDescriptionRequiredSchema
customerAliasThe new customer alias for the supplied number.Yesstring
{
    "customerAlias": string
}

Example request

{
  "customerAlias": "Custom alias"
}

Response

200 OK

Response body

[
  {
    "originalNumber": number,
    "number": number,
    "customerAlias": string
  }
]

Example response

[
  {
    "originalNumber": null,
    "number": 311234567890,
    "customerAlias": "Custom alias"
  }
]

Did this page help you?