You need to enable JavaScript to run this app.
Application Performance Management Plus

Application Performance Management Plus

Copy page
Download PDF
permission
ChangeRole
Copy page
Download PDF
ChangeRole
Assign a role to a user.​
Usage notes​
The IAM user has been granted administrator or member permissions for this application. For details, see Permission management.​
Request description​
RUM is deployed across multiple regions worldwide to provide more stable and low-latency access. You can refer to the Service addresses topic to choose the most suitable access point based on your business location.​
  • Request method: POST​
  • Request URL: https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=AssignRoleToUser&Version=2022-10-12​
Request parameters​
The following table lists only the request parameters specific to this API and some public parameters. For details, see Public parameters.​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
AssignRoleToUser​
The API name. The current API name is AssignRoleToUser.​
Version​
String​
Yes​
2022-10-12​
The API version. The current API version is 2022-10-12.​
role_type​
Integer​
Yes​
1,2​
User role.​
  • 1: Member​
  • 2: Administrator​
user_id​
Long​
Yes​
123​
User ID.​
​
Sample request​
​
POST https://apmplus-openapi.cn-beijing.volcengineapi.com?Action=AssignRoleToUser&Version=2022-10-12​
{​
"role_type": 1,​
"user_id": [123]​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
error_msg​
String​
""​
Error message. It is empty if the request succeeds.​
error_no​
Integer​
0​
Error code. It is 0 if the request succeeds.​
​
Sample response​
​
{​
"error_no": 0,​
"error_msg": ""​
}
​
Error codes​
No error codes are specific to this API. If the API call returns an error code, refer to Public error codes for troubleshooting.​
Last updated: 2026.09.17 16:14:45