Skip to Content
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
/management/v1/users/{user_id}/phone

Path Parameters

user_id*user_id

Request Body

application/json
  1. body
phone*phone
isPhoneVerified?is_phone_verified

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X PUT 'https://example.com/management/v1/users/string/phone' \  -H 'Content-Type: application/json' \  -d '{  "phone": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  }}

Was this page helpful?