Skip to main content
PATCH
/
phone-numbers
/
{phone_number_id}
Update Phone Number
curl --request PATCH \
  --url https://api.dev.kathan.tech/phone-numbers/{phone_number_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>"
}
'
{
  "id": "<string>",
  "provider": "<string>",
  "phone_number": "<string>",
  "status": "<string>",
  "label": "<string>",
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

phone_number_id
string
required

Body

application/json
label
string | null

Update the label

Response

Successful Response

id
string
required
provider
string
required
phone_number
string
required
status
string
required
label
string | null
created_at
string | null