Hatchmate Core API
string · minLength: 1 · maxLength: 512 · requiredinteger | nullboolean · requiredstring · uuid · requiredinteger · requiredboolean · requiredstring | null · uuid · requiredstring · enum · required
resolve
Permission resolution.
Resolve a permission (E24)
POST
https://api.hatchmate.nz
/v1/resolve
Bearer (JWT)
The customer resolved against is the token's customer_id claim and is
echoed as a UUID in the response (API-70). Account status is not
evaluated for this operation: suspended is a 200 with an empty set,
deleted is 404 (API-15, API-72).
Resolve a permission (E24) › Request Body
permissionFully concrete; a wildcard is 422 (PR-1).
epochThe caller's cached epoch (PR-22).
Default: null
Resolve a permission (E24) › Responses
A freshly computed decision.
allowedcustomer_idThe customer resolved against, from the token, never a slug.
epochepoch_stalematched_grant_idsubject_stateA deleted subject is 404, so deleted is not a value here.
Enum values:
active
disabled
suspended