Skip to main content
POST
/
policy
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>"
}

Authorizations

Authorization
string
header
required

Requires an API key to access. Signup at https://ui.osohq.com/

Query Parameters

force
boolean
required
show_suggestions
boolean
required
fail_fast
boolean
required

Body

application/json
src
string
required
filename
string | null

Response

The policy was updated.

message
string
required