Ploi API
Ploi API

Unlink site

Unlink a site from a Docker container.

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

Example Request

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

Response

{
    "message": "Docker container is being unlinked from example.com"
}