You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

To get activation counters, use the following request:

POST /auth/tokens

Example request

POST /auth/tokens HTTP/1.1
Content-Type: application/json

{
	"username": "demo",
	"password": "demo"
}

Response

The LAC REST API returns the standard HTTP response codes described in the following table.

Status CodeDescription
200 OKToken created.
400 Bad RequestInvalid credentials.

Example Response

HTTP/1.1 200 OK
Content-Type: application/json

{
	"token": "42fb2fdbf0d65982bd4478753ba81773ffd84775"
}
  • No labels