Access
Check access
Changed onReturns whether a buyer (user_… or con_… id) has access to a resource (the account acct_…, a prod_…, or an exp_…) and at what level (no_access, customer, admin). Powers entitlement gating on deployed sites.
get/users/{id}/access/{resource_id}
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
id, string required
The resource's ID, as returned in its id field
resource_id, string required
The resource to check access to: the account id (acct_…), a product (prod_…) or an experience (exp_…).
Response
Access check result
Access Check required
object, string required
has_access, boolean required
access_level, string required
expires_at, string nullable required
Changes
- warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status - warning
added the new
idempotency_errorenum value to theerror/typeresponse property for the response status
3 more changes in this revision
- warning