Ploi API
Ploi API

Delete container

Deletes a container from your server.

DELETE /api/servers/{server}/docker/containers/{container}

Example request:

curl -X DELETE "https://ploi.io/api/servers/{server}/docker/containers/1" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Response

{
  "message": "Docker container postgres-database has been marked for deletion"
}