auth

Authenticate

Exchange API Key credentials for JWT tokens

post/auth/token

Request

  • The document declares no server URL.
  • Auth
    • API key in header X-Ledger-API-User
    • or API key in header X-Ledger-API-User and API key in header X-Ledger-API-Key
    • or API key in header X-Ledger-API-User and Ledger_Store_Auth_Token (a scheme the document does not define)
    • or API key in header X-Ledger-API-User and API key in header X-Ledger-API-Key and Ledger_Store_Auth_Token (a scheme the document does not define)

Request body

workspacestring required

Target workspace

apiKeyIdstring required

API Key id

apiKeySecretstring required

API Key secret

Response

Successful response

accessTokenstring required

JSON Web Token used to authenticate requests

expiresInSecondsnumber required

JWT validity period (in seconds)

refreshTokenstring required

Refresh token used to obtain new JWT

refreshExpiresInSecondsnumber required

Refresh token validity period (in seconds)

Changes

No recorded changes to this operation across all 1 revision of this API.