Export Profile with CSV API

Use this API to export profile with CSV.

POST/fim/v3/profiles/exportcsv

Input ParametersInput Parameters

Parameter

Mandatory/Optional

Data Type

Description

profileUUID  Mandatory  String Provide the profile UUID to be exported as the CSV file. You can provide multiple profile UUIDs.
csv_filename  Mandatory  String Provide the CSV file name where the profile data/details are exported.

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 POST '<qualys_base_url>/fim/v3/profiles/exportcsv' 
-H 'Authorization: Bearer <token>'
-H 'Content-Type: application/json' -
-data-raw '[
 "<profileUUID>"
]' -k -o <csv_fileName.csv>
application/json' -d @request.json

Request Body

'[
 "<profileUUID01>","<profileUUID_02>"
]' 

Response

The CSV file is created according to the name and path you provided in your API request.