Apache CloudStack 4.14.1.0-SNAPSHOT Root Admin API Reference

createRolePermission

Adds a API permission to a role

Request parameters

Parameter NameDescriptionRequired
permissionThe rule permission, allow or deny. Default: deny.true
roleidID of the roletrue
ruleThe API name or wildcard rule such as list*true
descriptionThe description of the role permissionfalse

Response Tags

Response NameDescription
idthe ID of the role permission
descriptionthe description of the role permission
permissionthe permission type of the api name or wildcard rule, allow/deny
roleidthe ID of the role to which the role permission belongs
rolenamethe name of the role to which the role permission belongs
rulethe api name or wildcard rule