cURL
curl --request PUT \ --url https://{organization_id}.platform.barndoor.ai/api/policy/enable \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Enable a previously disabled policy.
Enabling a policy makes it active and enforced for access control decisions.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response