Generate a token

Authenticates and generates a token. The security token expires after five hours of inactivity.

📘

Note

If single-sign on (SSO) is enabled for the default tenant of the user instead of the username and password JSON keys, an API token JSON key must be sent.

Body Params

Configuration for generating a token.

string
required

When the default tenant of the user account has SSO enabled, you need to send an apiToken instead of the username and password.

string
required

The password.

string

The optional tenant.

string
required

The username.

Responses

401

Authentication error. See Get started for help initially running the API.

403

Forbidden error. The authenticated user does not have access to this resource.

500

Internal server error. Try again later.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json