Skip to main content
PUT
/
user
/
account
/
phone-number
Verify phone number
curl --request PUT \
  --url https://api.managem.co.uk/user/account/phone-number \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "<string>",
  "code": "<string>"
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json

Payload required once the user has confirmed the verification code.

phone
string
required

Phone number to update

code
string
required

The verification code received via SMS

Response

204

The user's phone number was updated