Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.94 KB

applianceBootScript_deleteAll.rst

File metadata and controls

63 lines (42 loc) · 1.94 KB

applianceBootScript_deleteAll

DELETE /users/{uid}/appliances/{aid}/bootscripts

Summary

  • Method: DELETE
  • Response Code: 204 / 200
  • Response Formats:
  • Since: UForge 2.1.06

Removes all of the boot scripts attached to an appliance. This includes any boot script file that has been uploaded.

A list of query parameters can be used to delete a subset of boot scripts. The list of boot scripts to delete are expressed as a list of query parameters: - name: delete a boot script that matches a name - id: delete a boot script that matches the boot script id - type: delete a boot script that matches a boot script type

For example, the following query parameters requests to delete boot scripts that have the name bootscript1.sh, bootscript2.sh and a boot script that has the id 23:

{uri}?name="bootscript1.sh"&name="bootscript2.sh"&id="23"

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • aid (required): the id of the appliance-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/appliances/{aid}/bootscripts" -X DELETE \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • appliance-object
  • applianceBootScript-create
  • applianceBootScript-delete
  • applianceBootScript-download
  • applianceBootScript-downloadFile
  • applianceBootScript-get
  • applianceBootScript-getAll
  • applianceBootScript-update
  • applianceBootScript-upload
  • bootscript-object