Skip to main content
PATCH
Error

Autorizações

Authorization
string
header
obrigatório

Bearer authentication. Send Authorization: Bearer .

Parâmetros de caminho

id
string
obrigatório

Caller's own User ID

Corpo

application/json

User Phone Input

UserPhoneInput payload

countryCode
string
obrigatório

User's ISO 3166-1 alpha-2 country code. Required.

len=2,alpha is the closest shape this repo's validator can express — it has no iso3166_1_alpha2 rule and no uppercase rule. The authoritative check is Casdoor's, which rejects a country code that does not resolve against the phone number.

Exemplo:

"BR"

phone
string
obrigatório

User's phone number in E.164 format. Required.

Exemplo:

5511998888777

Resposta