List Warrants

GET https://api.warrant.dev/v1/warrants?objectType&objectId&relation&subjectType&subjectId&subjectRelation

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 Params

KeyDatatypeRequiredDescription
objectTypenullOnly return warrants whose objectType matches this value
objectIdnullOnly return warrants whose objectId matches this value
relationnullOnly return warrants whose relation matches this value
subjectTypenullOnly return warrants with a subject whose objectType matches this value
subjectIdnullOnly return warrants with a subject whose objectId matches this value
subjectRelationnullOnly return warrants with a subject whose relation matches this value