System

Check auth configuration

Validate credentials for a registry and, if available, get an identity token for accessing the registry without password.

post/auth

Request

  • Base URL
    /v1.49 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1.49/auth
  • Auth
    none declared

Request body

usernamestring
passwordstring
emailstring
serveraddressstring

Example request

{
  "username": "hannibal",
  "password": "xxxx",
  "serveraddress": "https://index.docker.io/v1/"
}

Response

An identity token was generated successfully.

Statusstring required

The status of the authentication

IdentityTokenstring

An opaque token used to authenticate a user after a successful login

Changes

No recorded changes to this operation across all 4 revisions of this API.