cURL
curl --request POST \ --url http://localhost:3000/v2/PolicyGet \ --header 'Content-Type: application/json' \ --header 'X-Bunker-Token: <api-key>' \ --data ' { "policyid": 123, "policyname": "<string>", "request_metadata": {} } '
{ "status": "ok", "policyname": "<string>", "policydesc": "<string>", "policy": {} }
Retrieves information about a specific policy
Documentation IndexFetch the complete documentation index at: https://docs.databunker.org/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.databunker.org/llms.txt
Use this file to discover all available pages before exploring further.
API token for authentication
ID of the policy
Name of the policy
Additional metadata for the request
Policy information retrieved successfully
"ok"
Description of the policy
Policy definition