Skip to main content
PUT
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

phoneNumberId
string<uuid>
required

Phone number ID

Body

application/json

Input for relabelling or reassigning a phone number

name
string | null

New label; null clears it, omit to leave it alone

Required string length: 1 - 80
agentId
string<uuid> | null

Agent to assign the number to; null unassigns, omit to leave it alone

Response

The updated phone number

data
object
required

A phone number the project owns