Register policy from given template ids and events with custom config.
New policies are inactive by default.
Request
Body Params application/json
{
"policyTemplateId": "",
"applyingEventIds": [
""
],
"configuration": {}
}
Request Code Samples
curl --location --request POST 'https://stage.privicore.com:9009/policy/register' \
--header 'X-DPT-AUTHORIZATION;' \
--header 'Content-Type: application/json' \
--data-raw '{
"policyTemplateId": "",
"applyingEventIds": [
""
],
"configuration": {}
}'
Responses
application/json
Command accepted.
Use DPT CAB websocket server to subscribe to your profile channel via authorization token and receive command status messages.
Modified at 2025-03-06 13:01:35