Delete an Instance Group
delete
/api/v2/instance_groups/{id}/
Make a DELETE request to this resource to delete this instance group.
Request
Supported Media Types
- application/json
Path Parameters
Query Parameters
-
search(optional): string
A search term.
Response
Supported Media Types
- application/json
204 Response
403 Response
Example Response (application/json)
{
"detail":"Isolated Groups can not be removed from the API"
}
409 Response
Example Response (application/json)
{
"active_jobs":[
{
"id":1,
"type":"job"
},
{
"id":2,
"type":"job"
},
{
"id":3,
"type":"project_update"
},
{
"id":4,
"type":"project_update"
}
],
"error":"Resource is being used by running jobs."
}