Get IAM policy in organization
Gets the IAM policy of a access profile: who may issue credentials and manage it.
GET
Gets the IAM policy of a access profile: who may issue credentials and manage it.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
organization*stringThe organization's ID.
Match
^org_[0-7][0-9a-hjkmnp-tv-z]{25}$accessProfile*stringThe access profile's ID.
Match
^acp_[0-7][0-9a-hjkmnp-tv-z]{25}$OK
application/json- response
bindings*array<>Role bindings. Each role appears at most once.
etag*stringOpaque version of the policy. Send it back when setting the policy; the update fails with aborted if the policy changed in between.
curl -X GET 'https://api.kosem.ai/v1/organizations/string/accessProfiles/string/iam-policy'Example Response
{
"bindings": [
{
"members": [
"string"
],
"role": "string"
}
],
"etag": "string"
}