DELETE/containers/{container_id}

Delete a container

Deletes a container by its unique identifier. Use this operation when the container is no longer needed; the response confirms whether the container was deleted.

1 parameter
container_idstringrequired
The unique identifier of the container to delete.

3 status codes
200Returns a deletion confirmation containing the container ID, a `deleted` value, and the object type `container.deleted`.
objectstringrequired
Allowed:container.deleted
deletedbooleanrequired
idstringrequired
404Returned when the container is not found.
errorobjectrequired
429Returned when the request exceeds a rate limit.
errorobjectrequired

Error handling

A 404 is returned when the container is not found. A 429 is returned when the request exceeds a rate limit. The container_id path parameter must identify the container to delete.