github_orgs_list_pat_grants
List fine-grained personal access tokens authorized for an organization. Filter by owner, repository, permission, or usage dates to audit access.
Instructions
List fine-grained personal access tokens with access to organization resources
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | org | |
| per_page | No | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| page | No | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| sort | No | The property by which to sort the results. | |
| direction | No | The direction to sort the results by. | |
| owner | No | A list of owner usernames to use to filter the results. | |
| repository | No | The name of the repository to use to filter the results. | |
| permission | No | The permission to use to filter the results. | |
| last_used_before | No | Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. | |
| last_used_after | No | Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. | |
| token_id | No | The ID of the token |