Apache CloudStack 4.16.0.0 Root Admin API Reference

addUserToProject

Adds user to a project

Request parameters

Parameter NameDescriptionRequired
projectidID of the project to add the user totrue
usernameName of the user to be added to the projecttrue
emailemail ID of user to which invitation to the project is going to be sentfalse
projectroleidID of the project rolefalse
roletypeProject role type to be assigned to the user - Admin/Regularfalse

Response Tags

Response NameDescription
displaytextany text associated with the success or failure
successtrue if operation is executed successfully