Policies
Delete Policy
Delete a policy.
Preset policies cannot be deleted. Requires admin role.
Raises: ResourceNotFoundError: If the policy does not exist. PresetPolicyModificationError: If attempting to delete a preset policy. AdminRequiredError: If user is not an admin.
curl -X DELETE "https://api.grayswan.ai/policies/string"Empty
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}