v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
orgs

Review a request to access organization resources with a fine-grained personal access token

Approves or denies a pending request 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/{pat_request_id}

Path parameters

orgstring required

The organization name. The name is not case sensitive.

pat_request_idinteger required

Unique identifier of the request for access via fine-grained personal access token.

Request body

action'approve' | 'deny' required

Action to apply to the request.

reasonstring nullable

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

Response

A header with no content is returned.