post
/public_api/v1/endpoints/get_policy
Get the policy name for a specific endpoint.
Required license: Cortex XDR Prevent or Cortex XDR Pro per Endpoint
CURL
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
"https://api-yourfqdn/public_api/v1/endpoints/get_policy" \
-d '{
"request_data" : {
"endpoint_id" : "endpoint_id"
}
}'
Response
{
"reply": {
"policy_name": "Windows Default"
}
}
Request
Body
optional
Example:
{"request_data":{"endpoint_id":""}}
request_data
optional
endpoint_id
required
String
Endpoint ID.
Responses