List enterprise token inventory
Lists an enterprise's credential inventory: both credentials currently authorized to access the enterprise and credentials owned by enterprise members that have no current enterprise authorization. Covers personal access tokens (classic and fine-grained), OAuth App and GitHub App user tokens, SSH keys, GitHub App installations, and federated credentials, assembled on demand from the canonical sources. Results are paginated with an opaque cursor via the Link header; there is no total count.
You must be an enterprise owner (or hold a role with the "View enterprise credentials" permission) to use this endpoint.
OAuth app tokens and personal access tokens (classic) require the read:enterprise scope to access this endpoint.
Path parameters
The slug version of the enterprise name.
Query parameters
The number of results per page (max 100). For more information, see "Using pagination in the REST API."
A cursor, as given in the Link header, for the next page of results.
A comma-separated list of credential types to filter by.
Filter by enterprise-access status.
Filter to credentials owned by this user, given as a login.
Filter to credentials authorized to this organization in the enterprise, given as a login.
Filter to credentials for this application, given as a GitHub App slug or an OAuth App client id.
Response
Response