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

言語
認証情報
Bearer
JWT
LoadingLoading…
応答
試してみる!をクリックしてリクエストを開始し、こちらで応答をご確認ください! または例を選択:
application/json