Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

StatusResponse
200
Code Block
languagetext
{
 "id": 1,
 "name": "string",
 "location": null,
 "zone": null,
 "status": 8,
 "deployed": false,
 "tierCount": 4,
 "vmCount": 13,
 "totalCpu": 1,
 "totalMemory": 2048,
 "totalStorage": 30720,
 "tiers": [
   {
     "id": 5,
     "name": "New Tier 1",
     "vms":[]
   },
   {
     "id": 7,
     "name": "New Tier 3",
     "vms": []
   }
 ],
 "notes": null,
 "health": 0,
 "tags": []
}
400
Code Block
languagetext
Trying to delete a tier with VMs
{
 "error": true,
 "message": "You cannot delete a tier that has vms assigned to it."
}


...

Output

Excerpt Include
Output results (snippet)
Output results (snippet)
nopaneltrue

ReturnTypeDescriptionPossible valuesExample
statusIntegerThe state of the objectA range of numbers from -1 to 19 (See Note below for possible values)
8


 

Excerpt Include
Status return values (snippet)
Status return values (snippet)
nopaneltrue