Generate a token

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

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

400

Bad request. The URL or JSON request object is invalid.

401

Unauthorized. The security token is missing or invalid. See Get started for help initially running the API.

403

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

500

Internal server error. Try again later.

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