curl --location -g --request PUT 'https:///api/v2/guardrails/' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Updated Guardrail Name",
"description": "Updated guardrail description",
"is_enabled": true
}'
{
"success": true,
"message": "Guardrail updated successfully",
"data": {
"id": 1,
"name": "Updated Guardrail Name",
"description": "Updated guardrail description",
"guardrail_type": "topic_control",
"is_enabled": true,
"organization_id": 1
}
}