POST /orgs/{org}/personal-access-token-requests
Approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.
Only GitHub Apps can use this endpoint.
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
org |
String | Yes |
The organization name. The name is not case sensitive. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
pat_request_ids[] |
Array | No |
Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 |
action |
String | Yes |
Action to apply to the requests. Possible values:
|
reason |
String | No |
Reason for approving or denying the requests. Max 1024 characters. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.