Delete Configuration Profile
This API deletes a selected configuration profile that is not being used by any Cloud Agent.
If you select a configuration profile assigned to a Cloud Agent, API returns an error message preventing you from deleting it.
Permissions required - Managers with full scope. Other users must have these permissions: Access Permission “API Access” and create, view, edit, and delete configuration profile permissions.
Input ParametersInput Parameters
The following are the input parameters for deleting the configuration profile API.
| Parameter | Optional/Mandatory | Data Type | Description |
|---|---|---|---|
| id | Mandatory | Integer | Provide the configuration profile ID you want to delete. |
Sample - Delete a configuration profileSample - Delete a configuration profile
API Request
curl --location --request DELETE '
<qualys_base_url>/caui/v1/config-profiles/1789971' \
--header 'Authorization: Bearer <JWT_TOKEN>' \
API Response
200 OK true
Replace the <qualys_base_url> in the sample API requests with the correct Qualys gateway URLs. Refer to Identify your Qualys platform to check your gateway URL.