Update User Custom Attribute

Update an existing user's custom attributes, using a valid management key.

This API endpoint allows you to update a user's custom attributes granularly without updating all user details.

The response returns the user's details in json format.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer <ProjectId:ManagementKey>

SecurityAuthProjectIdMgmtKey
Request
Request Body schema: application/json
required
loginId
string
attributeKey
string
attributeValue
any (google.protobuf.Value)

Represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.

Responses
200

OK

post/v1/mgmt/user/update/customAttribute
Request samples
Response samples
application/json
{
  • "user": {
    }
}