Enable/Disable Activation Key
This is a common API for enabling or disabling an activation key. If you execute this API for an enabled activation key, it will be disabled after API execution, and vice versa.
Provide the activation key ID (id - Required) in the API request to enable/disable the key.
Permissions required - Managers with full scope. Other users must have these permissions: Access Permission — API Access, and CA Activation Key Permission — Enable Activation Key/ Disable Activation Key.
Input Parameters
There are no input parameters
Sample – Enable activation keySample – Enable activation key
API Request
curl --location --request PATCH '<qualys_base_url> /caui/v1/activation-keys/manage/1819838
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <JWT Token>'
API Response
Successfully disabled activation key
The API response for this API depends on the activation key status. If the activation key is enabled before executing this API, the response will be Successfully disabled activation key and vice versa.