Set User Metadata
Sets a list of key value pairs. Existing metadata entries with matching keys are overwritten. Existing metadata entries without matching keys are untouched. To remove metadata entries, use DeleteUserMetadata. For HTTP requests, make sure the bytes array value is base64 encoded.
Required permission:
user.write
Path Parameters
ID of the user under which the metadata gets set.
Request Body
application/json
Metadata to bet set. The values have to be base64 encoded.
Response Body
application/json
curl -X POST "https://loading/v2/users/string/metadata" \ -H "Content-Type: application/json" \ -d '{}'{
"setDate": "2023-01-15T01:30:15.01Z"
}Was this page helpful?
Set the user phone
Set the user phone: Deprecated: [Update the users phone field](/reference/api/user/zitadel.user.v2.UserService.UpdateUser). Set the phone number of a user. If the state is set to not verified, a verification code will...
Start flow with an identity provider
Start flow with an identity provider: Start a flow with an identity provider, for external login, registration or linking..