Apache CloudStack 4.15.0.0 Root Admin API Reference

createRolePermission

Adds an 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
roleidthe ID of the role to which the role permission belongs
rolenamethe name of the role to which the role permission belongs