ZITADEL Docs
APIsCore ResourcesV1Organization Objects

Update User Phone (Human)

Deprecated: use user service v2 UpdateUser instead.

Change the phone number of a user. If the state is set to not verified, the user will get an SMS to verify (if a notification provider is configured). The phone number is only for informational purposes and to send messages, not for Authentication (2FA).

PUT
/users/{user_id}/phone

Path Parameters

user_id*string

Request Body

application/json

phone*string
isPhoneVerified?boolean
[key: string]?never

Response Body

application/json

curl -X PUT "https://loading/users/string/phone" \  -H "Content-Type: application/json" \  -d '{    "phone": "string"  }'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  }
}

Was this page helpful?