curl --location -g --request POST 'https:///api/v2/organizations//guardrails' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "New Guardrail",
"description": "Description of the guardrail",
"guardrail_type": "topic_control",
"is_enabled": true
}'
{
"data": {
"id": 0,
"name": "string",
"description": "string",
"organization_id": 0,
"guardrail_type": "string",
"is_enabled": true,
"is_default": true
},
"success": true,
"message": "string"
}