Apache CloudStack 4.15.0.0 Root Admin API Reference

createRole

Creates a role

Request parameters

Parameter NameDescriptionRequired
namecreates a role with this unique nametrue
descriptionThe description of the rolefalse
roleidID of the role to be cloned from. Either roleid or type must be passed infalse
typeThe type of the role, valid options are: Admin, ResourceAdmin, DomainAdmin, Userfalse

Response Tags

Response NameDescription
isdefaulttrue if role is default, false otherwise
typethe type of the role