Skip to content

policyObjectUsages

Returns the policies assigned to each object.

Arguments

Argument Type Description
objectIds (required) [String!]!

Returns

PolicyObjectUsageConnection!

Sample

query PolicyObjectUsages($objectIds: [String!]!) {
  policyObjectUsages(objectIds: $objectIds) {
    nodes {

    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{
  "objectIds": [
    "example-string"
  ]
}
{
  "data": {
    "policyObjectUsages": {
      "nodes": [
        [
          {}
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}