Skip to content

appAccessPrincipals

ListAppAccessPrincipals returns a list of principals (groups or apps) that participate in app access paths for a given user.

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.
filter AppAccessPrincipalsFilterInput Filter to be applied when retrieving app access principals.

Returns

AppAccessPrincipalConnection!

Sample

query {
  appAccessPrincipals(first: 10) {
    nodes {
      appCount
      applicationLogoId
      id
      idpType
      logoId
      memberCount
      name
      nativeType
      principalType
    }
    pageInfo {
      hasNextPage
      endCursor
    }
  }
}
{}
{
  "data": {
    "appAccessPrincipals": {
      "nodes": [
        [
          {
            "appCount": 0,
            "applicationLogoId": "example-string",
            "id": "example-string",
            "idpType": "AWS",
            "logoId": "APP_LOGO_ID_CONFLUENCE",
            "memberCount": 0
          }
        ]
      ],
      "pageInfo": {
        "endCursor": "example-string",
        "hasNextPage": true,
        "hasPreviousPage": true,
        "startCursor": "example-string"
      }
    }
  }
}