policies

Returns a policy

Returns a policy for a given id

get/policies/{id}

Request

  • Base URL
    /v1 (relative, and the document’s source URL is not known)
  • Auth
    API key in header Authorization

Path parameters

idstring required

Unique id of policy

Response

Successfully returned a policy for a given id

idstring

Unique id for this policy

entitiesEntityId[]

A list of entities for this policy

rolestring

Role for this policy

Example response

{
  "entities": [
    "groups/role-admin"
  ],
  "role": "administrator",
  "condition": {
    "attribute": "collection_id",
    "operator": "StringEquals",
    "values": [
      "v1"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.