Skip to main content
PATCH
Error

Autorizaciones

Authorization
string
header
requerido

Bearer authentication. Send Authorization: Bearer .

Parámetros de ruta

id
string
requerido

Caller's own User ID

Cuerpo

application/json

User Phone Input

UserPhoneInput payload

countryCode
string
requerido

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.

Ejemplo:

"BR"

phone
string
requerido

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

Ejemplo:

5511998888777

Respuesta