Generate Authorization Token
Generate an authentication token to run the Qualys APIs.
API Request
"curl --location --request POST""<qualys_gateway_url>/partner-integration/nutanix/authorize/vm""--header""Authorization: <Bearer Token>
--header ""Content-Type":"application/json""
--data-raw "{
" ""customerId":"xxxxxxx",
" ""customerUUID":"xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}"'"
Response
{
" ""integrationId":502,
" ""authorizationKey":"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}" "
(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.)