cURL
curl --request POST \ --url https://api.osohq.com/api/policy \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "src": "<string>" } '
{ "message": "<string>" }
Updates the policy in Oso Cloud. The policy should be represented as a string containing Polar code.
Requires an API key to access. Signup at https://ui.osohq.com/
The policy was updated.
Was this page helpful?