POST /auth/v1/tokens

Changed on

Authenticates a user with Authorization header and returns a token object.

Request

  • The document declares no server URL.
  • Auth
    none required

Headers

authorizationstring

base64 encoded string containing login and password

x-forwarded-forstring

set externally to indicate real source of the request

x-forwarded-userstring

set externally to indicate the remote username in the case of proxy auth

Request body

ttlinteger nullable

Response

New token has been created

expirystring datetime
idstring uuid
metadataobject
tokenstring
userstring

Changes