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 Returns the elements in the list that occur after the specified cursor.
last Int Returns the last n elements from the list.
before String Returns the elements in the list that occur before the specified cursor.
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_TPR_ROLE"
            ],
            "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"
      }
    }
  }
}