ZITADEL Docs
APIsCore ResourcesV2User

Set the user phone

Deprecated: Update the users phone field.

Set the phone number of a user. If the state is set to not verified, a verification code will be generated, which can be either returned or sent to the user by sms..

POST
/v2/users/{user_id}/phone

Path Parameters

user_id*string

Response Body

application/json

curl -X POST "https://loading/v2/users/string/phone"
{
  "details": {
    "sequence": 0,
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string",
    "creationDate": "2023-01-15T01:30:15.01Z"
  },
  "verificationCode": "string"
}

Was this page helpful?