Creates a role.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /pop/v5/account/create_role
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RoleName | string | Yes | The name of the role. | testrole |
ActionData | string | Yes | The set of permissions to be granted to the role. The value is in the format of | 15:1;14:2 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "success",
"RequestId": "57609587-DFA2-41EC-****-*********",
"RoleId": 33
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history