POST
/
auth
/
phone-numbers
/
make-primary
curl --request POST \
  --url https://api.pxyz.dev/api/v0/auth/phone-numbers/make-primary \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>"
}'
{
  "id": "<string>",
  "tenantId": "<string>",
  "userId": "<string>",
  "phone": "<string>",
  "verifiedAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Body

application/json
id
string
required

Response

200
application/json
Successful response
id
string
required
tenantId
string
required
phone
string
required
verifiedAt
string | null
required
createdAt
string
required
updatedAt
string
required
userId
string | null