POST/servers/{uuid}/registries/{registry}/check

Check a registry login on a server

Check that the saved login of the server for a registry still works. Runs docker login with the saved credentials on the server.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters
uuidstringrequired
Server UUID
registrystringrequired
Registry host, optionally with a port, for example registry.example.com:5000.

5 status codes
200The login works.
messagestringoptional
400Invalid token.
messagestringoptional
401Unauthenticated.
messagestringoptional
404Resource not found.
messagestringoptional
422Validation error.
errorsobjectoptional
messagestringoptional

Error handling

A 400 is returned: Invalid token. A 401 is returned: Unauthenticated. A 404 is returned: Resource not found. A 422 is returned: Validation error.