Remove Instance

Remove an instance of a container, if that container employs the manual deployment strategy.

Requires the containers-update permission.

query
  • include

    Accepted Values: creatorserverslocationsproviderscontainersenvironments

Returns

Returns a Task Descriptor Object, otherwise returns an Error.

POST /v1/containers/5b9c2a77b6393d0001eb45fd/instances/5cc78aa0db2ab000014a8b98

Example Request
$ curl https://api.cycle.io/v1/containers/5b9c2a77b6393d0001eb45fd/instances/5cc78aa0db2ab000014a8b98 \
-H
"Authorization: Bearer API_KEY"
\
-H
"X-Hub-Id: HUB_ID"
-X DELETE
Example Response
{
"data": {
"action": "container.instance.delete",
"job_id": "5d01b9b3db2ab00001508cd8"
}
}