API Authentication Lab

Apstra Specific Authentication

Apstra uses the bearer token method to authenticate and authorize API users. Once the token is generated it is valid for 24 hours and this value is not customizable.

The generation of the token is shown below - you can see the request is sent to the server that contains the username and password. The server response includes the generated API token.

Request Login Request

Response Login Response