DELETE/destinations/{uuid}

Delete a destination

Deletes an unused Docker network destination. Use this operation to remove a destination that is no longer needed; destinations with attached resources cannot be deleted.

1 parameter
uuidstringrequired
The UUID of the destination to delete.

4 status codes
200Returns a message confirming that the destination was deleted.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the destination cannot be found.
messagestringoptional
409Returned when the destination has attached resources.

Error handling

A 401 is returned when the request is unauthenticated. A 404 is returned when the destination identified by the uuid path parameter is not found, and a 409 is returned when the destination has attached resources.