Check Resource Authorization For User

Beta
Admin endpoint to check whether the specified user is authorized to read the specified resource.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
resourceIdentifierobjectRequired
The resource identifier for which you want to check authorization.
userEmailstringRequired
The user email to check authorization for.
disableCachebooleanOptional
If specified, Credal will bypass the permissions cache and check current permissions for this resource

Response

This endpoint returns an object.
authorizedboolean