Create a Warrant
POST https://api.warrant.dev/v1/warrants
Warrants are the policies or rules that specify exactly who/what (a subject) is related to or has access to another object or resource.
All authorization checks in Warrant are evaluated against the warrants in your system.
See Warrant Docs for more details.
Request Body
{"objectType"=>"role", "objectId"=>"admin", "relation"=>"member", "subject"=>{"objectType"=>"user", "objectId"=>""}}