orgs

Review requests to access organization resources with fine-grained personal access tokens

Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.

Only GitHub Apps can use this endpoint.

post/orgs/{org}/personal-access-token-requests

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/personal-access-token-requests
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

pat_request_idsinteger[]

Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 pat_request_id values.

action'approve' | 'deny' required

Action to apply to the requests.

reasonstring nullable

Reason for approving or denying the requests. Max 1024 characters.

Response

Accepted

object required

Changes

No recorded changes to this operation across all 83 revisions of this API.