DELETE
/services/{uuid}Delete
Delete service by UUID. Needs a token with the write and deploy permissions.
uuidstringrequired
Service UUID
delete_configurationsbooleanoptional
Delete configurations.
delete_volumesbooleanoptional
Delete volumes.
docker_cleanupbooleanoptional
Run docker cleanup when the server disk usage is at or above its cleanup threshold. Skipped when a cleanup ran on the server in the last hour.
delete_connected_networksbooleanoptional
Delete connected networks.
200Delete a service by UUID
messagestringoptional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
403The token needs the write and deploy permissions.
404Resource not found.
messagestringoptional
422Validation error.
errorsobjectoptional
messagestringoptional
Error handling
A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 403 is returned: The token needs the write and deploy permissions. A 404 is returned: Resource not found. A 422 is returned: Validation error.