Skip to content

customTprPolicies

All unarchived custom TPR policies.

Arguments

Argument Type Description
first Int Returns the first n elements from the list.
after String An opaque cursor returned from a previous query's endCursor field. Pass this value verbatim to retrieve the next page of results.
last Int Returns the last n elements from the list.
before String An opaque cursor returned from a previous query's startCursor field. Pass this value verbatim to retrieve the previous page of results.
sortBy TprPolicySortByField Fields to sort TPR policies.
sortOrder SortOrder Sorts the order of results.
filter TprPolicyFilterInput Input for filtering a list of TPR policies.

Returns

CustomTprPolicyConnection!

Sample

query {
  customTprPolicies(first: 10) {
    nodes {
      actions
      description
      numberOfObjectTypes
      numberOfProtectableObjects
      orgId
      orgName
      policyId
      policyName
      quorumRequirement
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "customTprPolicies": {
      "nodes": [
        [
          {
            "actions": [
              "ASSIGN_COPY_SCHEDULE"
            ],
            "description": "example-string",
            "numberOfObjectTypes": 0,
            "numberOfProtectableObjects": 0,
            "orgId": "00000000-0000-0000-0000-000000000000",
            "orgName": "example-string"
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}