Apache CloudStack 4.23.0.0 Root Admin API Reference
createRolePermission
Adds an API permission to a role
Request parameters
| Parameter Name | Description | Required |
| permission | The rule permission, allow or deny. Default: deny. | true |
| roleid | ID of the role | true |
| rule | The API name or wildcard rule such as list* | true |
| description | The description of the role permission | false |
Response Tags
| Response Name | Description |
| id | The ID of the role permission |
| roleid | The ID of the role to which the role permission belongs |
| rolename | The name of the role to which the role permission belongs |