Skip to main content
PATCH
Update Phone Number

Authorizations

x-api-key
string
header
required

API key for authentication. Generate API keys from the RevRing dashboard. A key is either full access or read-only; a read-only key is refused with 403 read_only_key on any request that creates, changes or deletes.

Path Parameters

id
string<uuid>
required

Agent ID

phoneId
string<uuid>
required

Phone number ID

Body

application/json
environment
string | null
Pattern: ^[a-z][a-z0-9-]{0,31}$
trafficSplit
object[] | null

A/B split across versions: each inbound call runs the environment picked by weight (null = production). See Split calls between versions.

Required array length: 2 - 5 elements

Response

Phone number

data
object