Hosts
post/hosts/

Request

  • Base URL
    https://quads.example.com/api/v3
  • URL
    https://quads.example.com/api/v3/hosts/
  • Auth
    HTTP bearer

Request body

namestring required
modelstring required
host_typestring required
rackstring required
ulocstring required
bladestring
default_cloudstring
can_self_scheduleboolean
overcloudboolean
bootmodestring

Example request

{
  "name": "host.example.com",
  "model": "r640",
  "host_type": "vendor",
  "rack": "f01",
  "uloc": "h01",
  "blade": "b01",
  "default_cloud": "cloud01",
  "overcloud": true,
  "bootmode": "Bios"
}

Response

Created

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status

    • breaking

      removed the success response with the status

    • info

      added the success response with the status