Bulk Delete Profiles API

Use this API to delete profiles in bulk.

Delete/fim/v3/profiles/delete

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

profileIdsToDelete

Mandatory

String

Provide the profile UUID to delete the respective profile. You can provide multiple profile UUIDs too.

Authorization

Mandatory

String

Authorization token to authenticate to the Qualys Cloud Platform. Prepend token with "Bearer" and one space. For example - Bearer authToken

SampleSample

API Request

curl -X DELETE 
<qualys_base_url>/fim/v3/profiles/delete 
-H 'authorization: Bearer ' 
-H 'content-type: application/json' 
- d '{"profileIdsToDelete":["",""]}'

Request Body

'{"profileIdsToDelete":["",""]}'

Response: 

{ "BAD DATA" : {}, "FAILED" : {}, "SUCCESS" : { "15f4af1e-e54b-477a-8991-03775fdbc59d" : "Profile successfully deleted", "dca5ffb8-cd38-4197-9cf4-daaf41cb516d" : "Profile successfully deleted" } }