Permissions Service

Check Resource Authorization For User

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

Request

This endpoint expects an object.
resourceIdentifierunionRequired
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