cURL
curl --request POST \ --url https://api.osohq.com/api/authorize \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "actor_type": "<string>", "actor_id": "<string>", "action": "<string>", "resource_type": "<string>", "resource_id": "<string>" } '
{ "allowed": true }
Determines whether or not an actor can take an action on a resource, based on a combination of authorization data and policy logic.
Requires an API key to access. Signup at https://ui.osohq.com/
Show child attributes
Was this page helpful?