cURL
curl --request DELETE \ --url https://app.kosli.com/api/v2/environments/{org}/{env_name}/policies \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "policy_names": [ "<string>" ] } '
{ "message": "<string>", "errors": {} }
Detach a Policy from an environment.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
List of policy names to attach/detach
Policy detached successfully
Was this page helpful?