GET
/
iam
/
auth
/
v1
/
policies
/
{resource_key}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

resource_key
string
required

A resource key for which policy is being requested.

For organizations, this key consists of two components: the organization ID and string "organization", joined by a forward slash. For all other resources, this key consists of three components: the resource ID, the project ID, and the resource type (e.g. "event" or project"), joined by forward slashes (for projects specifically, this contains the same resource ID twice).

Examples: For organization "example", use example/organization For project "demo", use demo/demo/project For event "r8efdFD9sMSaa93" inside the project "demo", use r8efdFD9sMSaa93/demo/event

Response

200 - application/json
policy
object

Authorization policy.

etag
string

Hash of the stored policy that must be sent by the client when updating the policy.