applianceBootScript_upload¶
-
POST /users/{uid}/appliances/{aid}/bootscripts/{bsid}/bin/{fileName}
Uploads a boot script file.
Prior to uploading a boot script file, a bootScript object must be created. Refer to applianceBootScript_create to understand how to create a new boot script object for an appliance.
Security Summary¶
- Requires Authentication:
true
- Entitlements Required:
appliance_create
URI Parameters¶
uid
(required): the user name (login name) of the userbsid
(required): the id of the bootScriptfileName
(required): the boot script filename to addaid
(required): the id of the appliance
HTTP Request Body Parameters¶
The file to upload.
Example Request¶
curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/bootscripts/{bsid}/bin/{fileName}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"