Associates a user property with a user.


Before you call this operation, you can call the DescribeUsers operation to query the information about users and the ListProperty operation to query user properties.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SetUserPropertyValue

The operation that you want to perform. Set the value to SetUserPropertyValue.

UserId Long No 11

The ID of the user.

UserName String No test

The name of the user.

PropertyId Long No 390

The ID of the property.

PropertyValueId Long No 978

The ID of the property value.

Response parameters

Parameter Type Example Description
RequestId String D6C62E40-F937-5803-B008-92E813399BA5

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "D6C62E40-F937-5803-B008-92E813399BA5"