GuidesAPI Reference
API Reference

Get a single grant given to an entity

Get a single grant given to an entity. This calls returns any permission to take the specified action against the specified resource on the requested entity.


Access Control:

  • The calling principal must have either "listGrants" or "share" action permission for the resource "{resourceHrn}" in the "authorization" service.
  • The realm of the calling principal MUST match the realm of the requested app.
  • The calling principal MUST NOT include a project scope.
Path Params
string
required

The hrn that identifies the resource

string
required

The target entityId to get the grant of

string
required

The action of the grant

Query Params
string
required

The type of the entity to get the grant of. Must be one of user, app, or group

Responses

404

Resource or App not found

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json