Generate a JWT Token

Generates a new JWT token for authentication.

POST /auth

SampleSample

API Request

curl -X POST
"
<qualys_gateway_url>/auth"
-d "username=value1&password=passwordValue&token=true"
-H "ContentType: application/x-www-form-urlencoded"
	  

Output

A JWT token  

(Pass this token to the rest of the APIs for Authorization. It is valid for 4 hours once generated. Once it has expired, you have to regenerate it.)

Related Topic

Register Integration