DELETE/servers/{uuid}/registries/{registry}

Log out from a registry on a server

Logs out the server from a specified registry by running docker logout. Use this operation to remove the saved login for a registry host. The response confirms whether the logout completed.

2 parameters
uuidstringrequired
The UUID of the server to log out from the registry on.
registrystringrequired
The registry host, optionally with a port, such as `registry.example.com:5000`.

5 status codes
200Returns a message confirming that the server logged out from the registry.
messagestringoptional
400Returned when the token is invalid.
messagestringoptional
401Returned when the request is unauthenticated.
messagestringoptional
404Returned when the requested resource is not found.
messagestringoptional
422Returned when the request fails validation.
errorsobjectoptional
messagestringoptional

Error handling

A 400 is returned for an invalid token, and a 401 is returned when the request is unauthenticated. A 404 indicates the resource was not found, and a 422 indicates validation errors. The uuid path parameter must identify a server, and the registry path parameter must specify a registry host, optionally with a port.