Apache CloudStack 4.23.0.0 Root Admin API Reference

registerUserData

Register a new User Data.

Request parameters

Parameter NameDescriptionRequired
nameName of the user datatrue
userdataBase64 encoded User Data content. Using HTTP GET (via querystring), you can send up to 4KB of data after base64 encoding. Using HTTP POST (via POST body), you can send up to 32KB of data after base64 encoding, which can be increased upto 1MB using the vm.userdata.max.length settingtrue
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