Path Parameters
idinteger required
The unique identifier of the phone number to update
Body Parameters
nicknamestring
A short label for the phone number. Maximum 50 characters. Send null or an empty string to clear it.
Response
messagestring
Success message
data object
The updated phone number
properties
id integer
The unique identifier of the phone number
phone_number string
The phone number in E.164 format
nickname string
The phone number’s nickname (or null if not set)
country_code string
The ISO 3166-1 alpha-2 country code
type string
The type of phone number: normal, sip, or caller_id
200 Response
404 Not Found
422 Validation Error
The nickname is the same label you can set in the dashboard. It is returned by the phone number listing endpoints (
GET /user/phone-numbers/all, GET /user/phone-numbers/sip-trunks), so other resources that reference a number by phone_number_id can resolve its nickname from there.
