Delete a Server

Creates a task that deletes the specified server. You cannot delete a server that has instances on it. Please delete all instances running on the server before attempting to delete.

Requires the servers-decommission permission.


Returns a Task Descriptor Object, otherwise returns an Error.

DELETE /v1/infrastructure/servers/{ID}

Example Request
$ curl \
"Authorization: Bearer API_KEY"
"X-Hub-Id: HUB_ID"
Example Response
"data": {
"action": "delete",
"job_id": "5d01b9b3db2ab00001508cd8"