Skip to main content
POST
/
me
/
phone-numbers
/
{id}
/
make-primary
Make phone primary
curl --request POST \
  --url https://api.wacht.dev/me/phone-numbers/{id}/make-primary \
  --cookie session_id=
{
  "id": "<string>",
  "phone_number": "<string>",
  "country_code": "<string>",
  "primary": true,
  "verified": true
}

Authorizations

session_id
string
cookie
required

Path Parameters

id
string<uint64>
required

Response

200 - application/json

Phone set as primary

id
string<uint64>
phone_number
string
country_code
string
primary
boolean
verified
boolean