Apache CloudStack v4.11.0 Root Admin API Reference
createRolePermission
Adds a 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 |
description | the description of the role permission |
permission | the permission type of the api name or wildcard rule, allow/deny |
roleid | the ID of the role to which the role permission belongs |
rolename | the name of the role to which the role permission belongs |
rule | the api name or wildcard rule |