Modifies a role.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /pop/v5/account/edit_role
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RoleId | integer | Yes | The ID of the role. You can call the ListRole operation to query the role IDs. For more information, see ListRole . | 32371 |
ActionData | string | Yes | The set of permissions to be granted to the role. The value is in the format of | 15:1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "edit successfully",
"RequestId": "4823-bhjf-23u4-****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history