Apache CloudStack 4.17.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 |