Apache CloudStack 4.20.0.0 Root Admin API Reference

createProjectRolePermission

Adds API permissions to a project role

Request parameters

Parameter NameDescriptionRequired
permissionThe rule permission, allow or deny. Default: deny.true
projectidID of project where project role permission is to be createdtrue
projectroleidID of the project 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 project role permission
projectidthe ID of the project
projectroleidthe ID of the project role to which the role permission belongs
projectrolenamethe name of the project role to which the role permission belongs