This API endpoint retrieves the comprehensive list of the tenant’s custom profiles along with the global pre-defined profiles.
Request Endpoint
GET
https://<appliance_ip>/inspections/profiles
Call Example
curl -X 'GET' \
'http://localhost/inspections/profiles' \
-H 'accept: application/json'
Response Example
#200 Response
{
"custom": [
"Custom-1",
"Custom-2"
],
"predefined": [
"DLP-PCI",
"DLP-PII"
]
}
#500 Response
"Failed to retrieve the list of profiles"
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | The request was successfully completed, and the results are provided as a json object containing custom and predefined profiles. | Inline |
| 500 | Internal Server Error | An error occurred while getting the result. The response contains the error that caused the request to be rejected, if available. | string |
| 503 | Service Unavailable | No resources are available to perform the request. | None |
Response Schema
Status Code 200
A response object containing custom and predefined profiles for the tenant. Profiles determine which DLP rules are used when searching for matches.
| Name | Required | Restrictions | Description |
|---|---|---|---|
| » custom | true | none | A list of custom profiles created by the tenant. |
| » predefined | true | none | A list of predefined profiles global for all tenants. |

