Skip to content

Remove a registry credential

DELETE/registry/credentials/{host}

Deletes the stored credential for a registry host (`crucible registry logout`).

path parameters
object
hoststringrequired

Registry host, e.g. ghcr.io or index.docker.io.

Responses
204 No contentNo Content
404 Not foundNot Found
ErrorResponse
errorstring
501 Not Implemented
ErrorResponse
errorstring
Authentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.
Request
DELETE/registry/credentials/{host}
cURL
curl '/registry/credentials/{host}' \
  -X DELETE
Response
204 No content
No response body.
Was this page helpful?