Remove Instances - Batch

Remove more than one instance of a container, if that container employs the manual deployment strategy.

To control instance counts on containers employing alternate deployment strategies, please use scale .

Requires the containers-update permission.

  • include

    Accepted Values: creatorserverslocationsproviderscontainersenvironments


Returns a Task Descriptor Object, otherwise returns an Error.

POST /v1/containers/5b9c2a77b6393d0001eb45fd/instances

Example Request
$ curl \
"Authorization: Bearer API_KEY"
"X-Hub-Id: HUB_ID"
-H 'Content-Type: application/json' \
-d '{"instances_ids":["5f733344dc38060001c6683d","5f733325dc38060001c6d94e","5f7def233338060001c6d94f"]}' \
Example Response
"data": {
"action": "container.instance.delete",
"job_id": "5d01b9b3db2ab00001508cd8"