Apache CloudStack 4.21.0.0 Root Admin API Reference

registerUserData

Register a new User Data.

Request parameters

Parameter NameDescriptionRequired
nameName of the user datatrue
userdataUser data contenttrue
accountan optional account for the user data. Must be used with domainId.false
domainidan optional domainId for the user data. If the account parameter is used, domainId must also be used.false
paramscomma separated list of variables declared in user data contentfalse
projectidan optional project for the user datafalse

Response Tags

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