PHPackages                             api-clients/github-enterprise-cloud - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. api-clients/github-enterprise-cloud

ActiveLibrary[API Development](/categories/api)

api-clients/github-enterprise-cloud
===================================

Non-Blocking first GitHub Enterprise Cloud client

v0.1.x-dev(1y ago)00[1 PRs](https://github.com/php-api-clients/github-enterprise-cloud/pulls)MITPHPPHP ^8.2

Since Dec 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/php-api-clients/github-enterprise-cloud)[ Packagist](https://packagist.org/packages/api-clients/github-enterprise-cloud)[ RSS](/packages/api-clients-github-enterprise-cloud/feed)WikiDiscussions v0.1.x Synced 1w ago

READMEChangelogDependencies (10)Versions (2)Used By (0)

\[READONLY-SUBSPLIT\] github-enterprise-cloud
=============================================

[](#readonly-subsplit-github-enterprise-cloud)

[![Continuous Integration](https://github.com/php-api-clients/github-enterprise-cloud/workflows/Continuous%20Integration/badge.svg)](https://github.com/php-api-clients/github-enterprise-cloud/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/a54232494481ada9634182e988785be6e75d456c819559c991929833230cde0b/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6769746875622d656e74657270726973652d636c6f75642f762f737461626c652e706e67)](https://packagist.org/packages/api-clients/github-enterprise-cloud)[![Total Downloads](https://camo.githubusercontent.com/e82ace364f33191687fe72032e3bd41f944e2ebc18b60f0b7ecb414de3163795/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6769746875622d656e74657270726973652d636c6f75642f646f776e6c6f6164732e706e67)](https://packagist.org/packages/api-clients/github-enterprise-cloud)[![Code Coverage](https://camo.githubusercontent.com/8a65d09870d853c573e6d5d29785bf91ac80bd938a7bc15cfdf4e078ef0ca5d3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068702d6170692d636c69656e74732f6769746875622d656e74657270726973652d636c6f75642f6261646765732f636f7665726167652e706e673f623d3d76302e312e78)](https://scrutinizer-ci.com/g/php-api-clients/github-enterprise-cloud/?branch=v0.1.x)[![License](https://camo.githubusercontent.com/e0476a31ad2cbd3d8d95f719c71e807f4907d0d62858cca7dd41211095109bca/68747470733a2f2f706f7365722e707567782e6f72672f6170692d636c69656e74732f6769746875622d656e74657270726973652d636c6f75642f6c6963656e73652e706e67)](https://packagist.org/packages/api-clients/github-enterprise-cloud)

Non-Blocking first GitHub Enterprise Cloud client, this is a read only sub split, see [`github-root`](https://github.com/php-api-clients/github-root) for the root package.

Usage
-----

[](#usage)

```
use React\Http\Browser;
use ApiClients\Client\GitHubEnterpriseCloud\BearerToken;
use ApiClients\Client\GitHubEnterpriseCloud\Client;

use function React\Async\async;

$client = new Client(new BearerToken('YOUR_TOKEN_HERE'), new Browser());

// The client is using react/async internally to provide a non-promise API.
// As such you're expected to use it inside a fiber, the async call here is
// added to demonstrate and documented that requirement. The rest of the
// examples assume you have already wrapped in a fiber 0 or more levels up
// in your code such as a command bus executer or your HTTP server.
async(static function () {
    // Make API calls using the call method
    $client->call('METHOD /path/to/{the}/operation', ['array' => 'with', 'paramters' => 'for', 'the' => 'operation']);
    // Make API calls using the operations objects
    $client->operations()->group()->operation(array: 'with', paramters: 'for', the: 'operation');
})();
```

Supported operations
--------------------

[](#supported-operations)

### meta/root

[](#metaroot)

GitHub API Root

Using the `call` method:

```
$client->call('GET /');
```

Operations method:

```
$client->operations()->meta()->root();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#github-api-root).

### security-advisories/list-global-advisories

[](#security-advisorieslist-global-advisories)

List global security advisories

Using the `call` method:

```
$client->call('GET /advisories', [
        'ghsa_id' => 'generated',
        'cve_id' => 'generated',
        'ecosystem' => 'generated',
        'severity' => 'generated',
        'cwes' => ,
        'is_withdrawn' => ,
        'affects' => ,
        'published' => 'generated',
        'updated' => 'generated',
        'modified' => 'generated',
        'epss_percentage' => 'generated',
        'epss_percentile' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'type' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->securityAdvisories()->listGlobalAdvisories(        ghsa_id: 'generated',
        cve_id: 'generated',
        ecosystem: 'generated',
        severity: 'generated',
        cwes: ,
        is_withdrawn: ,
        affects: ,
        published: 'generated',
        updated: 'generated',
        modified: 'generated',
        epss_percentage: 'generated',
        epss_percentile: 'generated',
        before: 'generated',
        after: 'generated',
        type: 'generated',
        direction: 'generated',
        per_page: 8,
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#list-global-security-advisories).

### security-advisories/get-global-advisory

[](#security-advisoriesget-global-advisory)

Get a global security advisory

Using the `call` method:

```
$client->call('GET /advisories/{ghsa_id}', [
        'ghsa_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->securityAdvisories()->getGlobalAdvisory(        ghsa_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory).

### apps/get-authenticated

[](#appsget-authenticated)

Get the authenticated app

Using the `call` method:

```
$client->call('GET /app');
```

Operations method:

```
$client->operations()->apps()->getAuthenticated();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-the-authenticated-app).

### apps/create-from-manifest

[](#appscreate-from-manifest)

Create a GitHub App from a manifest

Using the `call` method:

```
$client->call('POST /app-manifests/{code}/conversions', [
        'code' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->createFromManifest(        code: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#create-a-github-app-from-a-manifest).

### apps/get-webhook-config-for-app

[](#appsget-webhook-config-for-app)

Get a webhook configuration for an app

Using the `call` method:

```
$client->call('GET /app/hook/config');
```

Operations method:

```
$client->operations()->apps()->getWebhookConfigForApp();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#get-a-webhook-configuration-for-an-app).

### apps/update-webhook-config-for-app

[](#appsupdate-webhook-config-for-app)

Update a webhook configuration for an app

Using the `call` method:

```
$client->call('PATCH /app/hook/config');
```

Operations method:

```
$client->operations()->apps()->updateWebhookConfigForApp();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#update-a-webhook-configuration-for-an-app).

### apps/list-webhook-deliveries

[](#appslist-webhook-deliveries)

List deliveries for an app webhook

Using the `call` method:

```
$client->call('GET /app/hook/deliveries', [
        'cursor' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->apps()->listWebhookDeliveries(        cursor: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#list-deliveries-for-an-app-webhook).

### apps/get-webhook-delivery

[](#appsget-webhook-delivery)

Get a delivery for an app webhook

Using the `call` method:

```
$client->call('GET /app/hook/deliveries/{delivery_id}', [
        'delivery_id' => 11,
]);
```

Operations method:

```
$client->operations()->apps()->getWebhookDelivery(        delivery_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#get-a-delivery-for-an-app-webhook).

### apps/redeliver-webhook-delivery

[](#appsredeliver-webhook-delivery)

Redeliver a delivery for an app webhook

Using the `call` method:

```
$client->call('POST /app/hook/deliveries/{delivery_id}/attempts', [
        'delivery_id' => 11,
]);
```

Operations method:

```
$client->operations()->apps()->redeliverWebhookDelivery(        delivery_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/webhooks#redeliver-a-delivery-for-an-app-webhook).

### apps/list-installation-requests-for-authenticated-app

[](#appslist-installation-requests-for-authenticated-app)

List installation requests for the authenticated app

Using the `call` method:

```
$client->call('GET /app/installation-requests', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listInstallationRequestsForAuthenticatedApp(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#list-installation-requests-for-the-authenticated-app).

### apps/list-installation-requests-for-authenticated-app

[](#appslist-installation-requests-for-authenticated-app-1)

List installation requests for the authenticated app

Using the `call` method:

```
$client->call('LIST /app/installation-requests', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listInstallationRequestsForAuthenticatedAppListing(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#list-installation-requests-for-the-authenticated-app).

### apps/list-installations

[](#appslist-installations)

List installations for the authenticated app

Using the `call` method:

```
$client->call('GET /app/installations', [
        'since' => '1970-01-01T00:00:00+00:00',
        'outdated' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listInstallations(        since: '1970-01-01T00:00:00+00:00',
        outdated: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#list-installations-for-the-authenticated-app).

### apps/list-installations

[](#appslist-installations-1)

List installations for the authenticated app

Using the `call` method:

```
$client->call('LIST /app/installations', [
        'since' => '1970-01-01T00:00:00+00:00',
        'outdated' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listInstallationsListing(        since: '1970-01-01T00:00:00+00:00',
        outdated: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#list-installations-for-the-authenticated-app).

### apps/get-installation

[](#appsget-installation)

Get an installation for the authenticated app

Using the `call` method:

```
$client->call('GET /app/installations/{installation_id}', [
        'installation_id' => 15,
]);
```

Operations method:

```
$client->operations()->apps()->getInstallation(        installation_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-installation-for-the-authenticated-app).

### apps/delete-installation

[](#appsdelete-installation)

Delete an installation for the authenticated app

Using the `call` method:

```
$client->call('DELETE /app/installations/{installation_id}', [
        'installation_id' => 15,
]);
```

Operations method:

```
$client->operations()->apps()->deleteInstallation(        installation_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#delete-an-installation-for-the-authenticated-app).

### apps/create-installation-access-token

[](#appscreate-installation-access-token)

Create an installation access token for an app

Using the `call` method:

```
$client->call('POST /app/installations/{installation_id}/access_tokens', [
        'installation_id' => 15,
]);
```

Operations method:

```
$client->operations()->apps()->createInstallationAccessToken(        installation_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#create-an-installation-access-token-for-an-app).

### apps/suspend-installation

[](#appssuspend-installation)

Suspend an app installation

Using the `call` method:

```
$client->call('PUT /app/installations/{installation_id}/suspended', [
        'installation_id' => 15,
]);
```

Operations method:

```
$client->operations()->apps()->suspendInstallation(        installation_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#suspend-an-app-installation).

### apps/unsuspend-installation

[](#appsunsuspend-installation)

Unsuspend an app installation

Using the `call` method:

```
$client->call('DELETE /app/installations/{installation_id}/suspended', [
        'installation_id' => 15,
]);
```

Operations method:

```
$client->operations()->apps()->unsuspendInstallation(        installation_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#unsuspend-an-app-installation).

### apps/delete-authorization

[](#appsdelete-authorization)

Delete an app authorization

Using the `call` method:

```
$client->call('DELETE /applications/{client_id}/grant', [
        'client_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->deleteAuthorization(        client_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#delete-an-app-authorization).

### apps/check-token

[](#appscheck-token)

Check a token

Using the `call` method:

```
$client->call('POST /applications/{client_id}/token', [
        'client_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->checkToken(        client_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#check-a-token).

### apps/delete-token

[](#appsdelete-token)

Delete an app token

Using the `call` method:

```
$client->call('DELETE /applications/{client_id}/token', [
        'client_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->deleteToken(        client_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#delete-an-app-token).

### apps/reset-token

[](#appsreset-token)

Reset a token

Using the `call` method:

```
$client->call('PATCH /applications/{client_id}/token', [
        'client_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->resetToken(        client_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/oauth-applications#reset-a-token).

### apps/scope-token

[](#appsscope-token)

Create a scoped access token

Using the `call` method:

```
$client->call('POST /applications/{client_id}/token/scoped', [
        'client_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->scopeToken(        client_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#create-a-scoped-access-token).

### apps/get-by-slug

[](#appsget-by-slug)

Get an app

Using the `call` method:

```
$client->call('GET /apps/{app_slug}', [
        'app_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->getBySlug(        app_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-app).

### classroom/get-an-assignment

[](#classroomget-an-assignment)

Get an assignment

Using the `call` method:

```
$client->call('GET /assignments/{assignment_id}', [
        'assignment_id' => 13,
]);
```

Operations method:

```
$client->operations()->classroom()->getAnAssignment(        assignment_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#get-an-assignment).

### classroom/list-accepted-assignments-for-an-assignment

[](#classroomlist-accepted-assignments-for-an-assignment)

List accepted assignments for an assignment

Using the `call` method:

```
$client->call('GET /assignments/{assignment_id}/accepted_assignments', [
        'assignment_id' => 13,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->classroom()->listAcceptedAssignmentsForAnAssignment(        assignment_id: 13,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-accepted-assignments-for-an-assignment).

### classroom/list-accepted-assignments-for-an-assignment

[](#classroomlist-accepted-assignments-for-an-assignment-1)

List accepted assignments for an assignment

Using the `call` method:

```
$client->call('LIST /assignments/{assignment_id}/accepted_assignments', [
        'assignment_id' => 13,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->classroom()->listAcceptedAssignmentsForAnAssignmentListing(        assignment_id: 13,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-accepted-assignments-for-an-assignment).

### classroom/get-assignment-grades

[](#classroomget-assignment-grades)

Get assignment grades

Using the `call` method:

```
$client->call('GET /assignments/{assignment_id}/grades', [
        'assignment_id' => 13,
]);
```

Operations method:

```
$client->operations()->classroom()->getAssignmentGrades(        assignment_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#get-assignment-grades).

### classroom/list-classrooms

[](#classroomlist-classrooms)

List classrooms

Using the `call` method:

```
$client->call('GET /classrooms', [
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->classroom()->listClassrooms(        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-classrooms).

### classroom/list-classrooms

[](#classroomlist-classrooms-1)

List classrooms

Using the `call` method:

```
$client->call('LIST /classrooms', [
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->classroom()->listClassroomsListing(        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-classrooms).

### classroom/get-a-classroom

[](#classroomget-a-classroom)

Get a classroom

Using the `call` method:

```
$client->call('GET /classrooms/{classroom_id}', [
        'classroom_id' => 12,
]);
```

Operations method:

```
$client->operations()->classroom()->getAClassroom(        classroom_id: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#get-a-classroom).

### classroom/list-assignments-for-a-classroom

[](#classroomlist-assignments-for-a-classroom)

List assignments for a classroom

Using the `call` method:

```
$client->call('GET /classrooms/{classroom_id}/assignments', [
        'classroom_id' => 12,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->classroom()->listAssignmentsForAClassroom(        classroom_id: 12,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-assignments-for-a-classroom).

### classroom/list-assignments-for-a-classroom

[](#classroomlist-assignments-for-a-classroom-1)

List assignments for a classroom

Using the `call` method:

```
$client->call('LIST /classrooms/{classroom_id}/assignments', [
        'classroom_id' => 12,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->classroom()->listAssignmentsForAClassroomListing(        classroom_id: 12,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/classroom/classroom#list-assignments-for-a-classroom).

### codes-of-conduct/get-all-codes-of-conduct

[](#codes-of-conductget-all-codes-of-conduct)

Get all codes of conduct

Using the `call` method:

```
$client->call('GET /codes_of_conduct');
```

Operations method:

```
$client->operations()->codesOfConduct()->getAllCodesOfConduct();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codes-of-conduct/codes-of-conduct#get-all-codes-of-conduct).

### codes-of-conduct/get-conduct-code

[](#codes-of-conductget-conduct-code)

Get a code of conduct

Using the `call` method:

```
$client->call('GET /codes_of_conduct/{key}', [
        'key' => 'generated',
]);
```

Operations method:

```
$client->operations()->codesOfConduct()->getConductCode(        key: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codes-of-conduct/codes-of-conduct#get-a-code-of-conduct).

### emojis/get

[](#emojisget)

Get emojis

Using the `call` method:

```
$client->call('GET /emojis');
```

Operations method:

```
$client->operations()->emojis()->get();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/emojis/emojis#get-emojis).

### enterprise-admin/get-server-statistics

[](#enterprise-adminget-server-statistics)

Get GitHub Enterprise Server statistics

Using the `call` method:

```
$client->call('GET /enterprise-installation/{enterprise_or_org}/server-statistics', [
        'enterprise_or_org' => 'generated',
        'date_start' => 'generated',
        'date_end' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getServerStatistics(        enterprise_or_org: 'generated',
        date_start: 'generated',
        date_end: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/admin-stats#get-github-enterprise-server-statistics).

### actions/get-actions-cache-usage-for-enterprise

[](#actionsget-actions-cache-usage-for-enterprise)

Get GitHub Actions cache usage for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/cache/usage', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getActionsCacheUsageForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise).

### actions/list-hosted-runners-for-enterprise

[](#actionslist-hosted-runners-for-enterprise)

List GitHub-hosted runners for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/hosted-runners', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listHostedRunnersForEnterprise(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-enterprise).

### actions/create-hosted-runner-for-enterprise

[](#actionscreate-hosted-runner-for-enterprise)

Create a GitHub-hosted runner for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/actions/hosted-runners', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createHostedRunnerForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-enterprise).

### actions/get-hosted-runners-github-owned-images-for-enterprise

[](#actionsget-hosted-runners-github-owned-images-for-enterprise)

Get GitHub-owned images for GitHub-hosted runners in an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/hosted-runners/images/github-owned', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersGithubOwnedImagesForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-enterprise).

### actions/get-hosted-runners-partner-images-for-enterprise

[](#actionsget-hosted-runners-partner-images-for-enterprise)

Get partner images for GitHub-hosted runners in an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/hosted-runners/images/partner', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersPartnerImagesForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-enterprise).

### actions/get-hosted-runners-limits-for-enterprise

[](#actionsget-hosted-runners-limits-for-enterprise)

Get limits on GitHub-hosted runners for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/hosted-runners/limits', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersLimitsForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-enterprise).

### actions/get-hosted-runners-machine-specs-for-enterprise

[](#actionsget-hosted-runners-machine-specs-for-enterprise)

Get GitHub-hosted runners machine specs for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/hosted-runners/machine-sizes', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersMachineSpecsForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-enterprise).

### actions/get-hosted-runners-platforms-for-enterprise

[](#actionsget-hosted-runners-platforms-for-enterprise)

Get platforms for GitHub-hosted runners in an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/hosted-runners/platforms', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersPlatformsForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-enterprise).

### actions/get-hosted-runner-for-enterprise

[](#actionsget-hosted-runner-for-enterprise)

Get a GitHub-hosted runner for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id}', [
        'enterprise' => 'generated',
        'hosted_runner_id' => 16,
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnerForEnterprise(        enterprise: 'generated',
        hosted_runner_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-enterprise).

### actions/delete-hosted-runner-for-enterprise

[](#actionsdelete-hosted-runner-for-enterprise)

Delete a GitHub-hosted runner for an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id}', [
        'enterprise' => 'generated',
        'hosted_runner_id' => 16,
]);
```

Operations method:

```
$client->operations()->actions()->deleteHostedRunnerForEnterprise(        enterprise: 'generated',
        hosted_runner_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-enterprise).

### actions/update-hosted-runner-for-enterprise

[](#actionsupdate-hosted-runner-for-enterprise)

Update a GitHub-hosted runner for an enterprise

Using the `call` method:

```
$client->call('PATCH /enterprises/{enterprise}/actions/hosted-runners/{hosted_runner_id}', [
        'enterprise' => 'generated',
        'hosted_runner_id' => 16,
]);
```

Operations method:

```
$client->operations()->actions()->updateHostedRunnerForEnterprise(        enterprise: 'generated',
        hosted_runner_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-enterprise).

### actions/set-actions-oidc-custom-issuer-policy-for-enterprise

[](#actionsset-actions-oidc-custom-issuer-policy-for-enterprise)

Set the GitHub Actions OIDC custom issuer policy for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/oidc/customization/issuer', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setActionsOidcCustomIssuerPolicyForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-github-actions-oidc-custom-issuer-policy-for-an-enterprise).

### enterprise-admin/get-github-actions-permissions-enterprise

[](#enterprise-adminget-github-actions-permissions-enterprise)

Get GitHub Actions permissions for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/permissions', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getGithubActionsPermissionsEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-enterprise).

### enterprise-admin/set-github-actions-permissions-enterprise

[](#enterprise-adminset-github-actions-permissions-enterprise)

Set GitHub Actions permissions for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/permissions', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->setGithubActionsPermissionsEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-enterprise).

### enterprise-admin/list-selected-organizations-enabled-github-actions-enterprise

[](#enterprise-adminlist-selected-organizations-enabled-github-actions-enterprise)

List selected organizations enabled for GitHub Actions in an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/permissions/organizations', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listSelectedOrganizationsEnabledGithubActionsEnterprise(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise).

### enterprise-admin/set-selected-organizations-enabled-github-actions-enterprise

[](#enterprise-adminset-selected-organizations-enabled-github-actions-enterprise)

Set selected organizations enabled for GitHub Actions in an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/permissions/organizations', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->setSelectedOrganizationsEnabledGithubActionsEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise).

### enterprise-admin/enable-selected-organization-github-actions-enterprise

[](#enterprise-adminenable-selected-organization-github-actions-enterprise)

Enable a selected organization for GitHub Actions in an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}', [
        'enterprise' => 'generated',
        'org_id' => 6,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->enableSelectedOrganizationGithubActionsEnterprise(        enterprise: 'generated',
        org_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise).

### enterprise-admin/disable-selected-organization-github-actions-enterprise

[](#enterprise-admindisable-selected-organization-github-actions-enterprise)

Disable a selected organization for GitHub Actions in an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}', [
        'enterprise' => 'generated',
        'org_id' => 6,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->disableSelectedOrganizationGithubActionsEnterprise(        enterprise: 'generated',
        org_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise).

### enterprise-admin/get-allowed-actions-enterprise

[](#enterprise-adminget-allowed-actions-enterprise)

Get allowed actions and reusable workflows for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/permissions/selected-actions', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getAllowedActionsEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-enterprise).

### enterprise-admin/set-allowed-actions-enterprise

[](#enterprise-adminset-allowed-actions-enterprise)

Set allowed actions and reusable workflows for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/permissions/selected-actions', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->setAllowedActionsEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-enterprise).

### actions/get-github-actions-default-workflow-permissions-enterprise

[](#actionsget-github-actions-default-workflow-permissions-enterprise)

Get default workflow permissions for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/permissions/workflow', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise).

### actions/set-github-actions-default-workflow-permissions-enterprise

[](#actionsset-github-actions-default-workflow-permissions-enterprise)

Set default workflow permissions for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/permissions/workflow', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise).

### enterprise-admin/list-self-hosted-runner-groups-for-enterprise

[](#enterprise-adminlist-self-hosted-runner-groups-for-enterprise)

List self-hosted runner groups for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runner-groups', [
        'enterprise' => 'generated',
        'visible_to_organization' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listSelfHostedRunnerGroupsForEnterprise(        enterprise: 'generated',
        visible_to_organization: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise).

### enterprise-admin/create-self-hosted-runner-group-for-enterprise

[](#enterprise-admincreate-self-hosted-runner-group-for-enterprise)

Create a self-hosted runner group for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/actions/runner-groups', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->createSelfHostedRunnerGroupForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-enterprise).

### enterprise-admin/get-self-hosted-runner-group-for-enterprise

[](#enterprise-adminget-self-hosted-runner-group-for-enterprise)

Get a self-hosted runner group for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getSelfHostedRunnerGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise).

### enterprise-admin/delete-self-hosted-runner-group-from-enterprise

[](#enterprise-admindelete-self-hosted-runner-group-from-enterprise)

Delete a self-hosted runner group from an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->deleteSelfHostedRunnerGroupFromEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise).

### enterprise-admin/update-self-hosted-runner-group-for-enterprise

[](#enterprise-adminupdate-self-hosted-runner-group-for-enterprise)

Update a self-hosted runner group for an enterprise

Using the `call` method:

```
$client->call('PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->updateSelfHostedRunnerGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise).

### enterprise-admin/list-org-access-to-self-hosted-runner-group-in-enterprise

[](#enterprise-adminlist-org-access-to-self-hosted-runner-group-in-enterprise)

List organization access to a self-hosted runner group in an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-an-enterprise).

### enterprise-admin/set-org-access-to-self-hosted-runner-group-in-enterprise

[](#enterprise-adminset-org-access-to-self-hosted-runner-group-in-enterprise)

Set organization access for a self-hosted runner group in an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->setOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-organization-access-for-a-self-hosted-runner-group-in-an-enterprise).

### enterprise-admin/add-org-access-to-self-hosted-runner-group-in-enterprise

[](#enterprise-adminadd-org-access-to-self-hosted-runner-group-in-enterprise)

Add organization access to a self-hosted runner group in an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'org_id' => 6,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->addOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        org_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise).

### enterprise-admin/remove-org-access-to-self-hosted-runner-group-in-enterprise

[](#enterprise-adminremove-org-access-to-self-hosted-runner-group-in-enterprise)

Remove organization access to a self-hosted runner group in an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'org_id' => 6,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->removeOrgAccessToSelfHostedRunnerGroupInEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        org_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise).

### enterprise-admin/list-self-hosted-runners-in-group-for-enterprise

[](#enterprise-adminlist-self-hosted-runners-in-group-for-enterprise)

List self-hosted runners in a group for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listSelfHostedRunnersInGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise).

### enterprise-admin/set-self-hosted-runners-in-group-for-enterprise

[](#enterprise-adminset-self-hosted-runners-in-group-for-enterprise)

Set self-hosted runners in a group for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->setSelfHostedRunnersInGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise).

### enterprise-admin/add-self-hosted-runner-to-group-for-enterprise

[](#enterprise-adminadd-self-hosted-runner-to-group-for-enterprise)

Add a self-hosted runner to a group for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->addSelfHostedRunnerToGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise).

### enterprise-admin/remove-self-hosted-runner-from-group-for-enterprise

[](#enterprise-adminremove-self-hosted-runner-from-group-for-enterprise)

Remove a self-hosted runner from a group for an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->removeSelfHostedRunnerFromGroupForEnterprise(        enterprise: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise).

### enterprise-admin/list-self-hosted-runners-for-enterprise

[](#enterprise-adminlist-self-hosted-runners-for-enterprise)

List self-hosted runners for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runners', [
        'name' => 'generated',
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listSelfHostedRunnersForEnterprise(        name: 'generated',
        enterprise: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-enterprise).

### enterprise-admin/list-runner-applications-for-enterprise

[](#enterprise-adminlist-runner-applications-for-enterprise)

List runner applications for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runners/downloads', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listRunnerApplicationsForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise).

### actions/generate-runner-jitconfig-for-enterprise

[](#actionsgenerate-runner-jitconfig-for-enterprise)

Create configuration for a just-in-time runner for an Enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/actions/runners/generate-jitconfig', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->generateRunnerJitconfigForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-enterprise).

### enterprise-admin/create-registration-token-for-enterprise

[](#enterprise-admincreate-registration-token-for-enterprise)

Create a registration token for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/actions/runners/registration-token', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->createRegistrationTokenForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise).

### enterprise-admin/create-remove-token-for-enterprise

[](#enterprise-admincreate-remove-token-for-enterprise)

Create a remove token for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/actions/runners/remove-token', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->createRemoveTokenForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise).

### enterprise-admin/get-self-hosted-runner-for-enterprise

[](#enterprise-adminget-self-hosted-runner-for-enterprise)

Get a self-hosted runner for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise).

### enterprise-admin/delete-self-hosted-runner-from-enterprise

[](#enterprise-admindelete-self-hosted-runner-from-enterprise)

Delete a self-hosted runner from an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/runners/{runner_id}', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->deleteSelfHostedRunnerFromEnterprise(        enterprise: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-enterprise).

### enterprise-admin/list-labels-for-self-hosted-runner-for-enterprise

[](#enterprise-adminlist-labels-for-self-hosted-runner-for-enterprise)

List labels for a self-hosted runner for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listLabelsForSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise).

### enterprise-admin/set-custom-labels-for-self-hosted-runner-for-enterprise

[](#enterprise-adminset-custom-labels-for-self-hosted-runner-for-enterprise)

Set custom labels for a self-hosted runner for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->setCustomLabelsForSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise).

### enterprise-admin/add-custom-labels-to-self-hosted-runner-for-enterprise

[](#enterprise-adminadd-custom-labels-to-self-hosted-runner-for-enterprise)

Add custom labels to a self-hosted runner for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->addCustomLabelsToSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise).

### enterprise-admin/remove-all-custom-labels-from-self-hosted-runner-for-enterprise

[](#enterprise-adminremove-all-custom-labels-from-self-hosted-runner-for-enterprise)

Remove all custom labels from a self-hosted runner for an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels', [
        'enterprise' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->removeAllCustomLabelsFromSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise).

### enterprise-admin/remove-custom-label-from-self-hosted-runner-for-enterprise

[](#enterprise-adminremove-custom-label-from-self-hosted-runner-for-enterprise)

Remove a custom label from a self-hosted runner for an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}', [
        'enterprise' => 'generated',
        'runner_id' => 9,
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->removeCustomLabelFromSelfHostedRunnerForEnterprise(        enterprise: 'generated',
        runner_id: 9,
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise).

### announcement-banners/get-announcement-banner-for-enterprise

[](#announcement-bannersget-announcement-banner-for-enterprise)

Get announcement banner for enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/announcement', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->announcementBanners()->getAnnouncementBannerForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise).

### announcement-banners/remove-announcement-banner-for-enterprise

[](#announcement-bannersremove-announcement-banner-for-enterprise)

Remove announcement banner from enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/announcement', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->announcementBanners()->removeAnnouncementBannerForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise).

### announcement-banners/set-announcement-banner-for-enterprise

[](#announcement-bannersset-announcement-banner-for-enterprise)

Set announcement banner for enterprise

Using the `call` method:

```
$client->call('PATCH /enterprises/{enterprise}/announcement', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->announcementBanners()->setAnnouncementBannerForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise).

### enterprise-admin/get-audit-log

[](#enterprise-adminget-audit-log)

Get the audit log for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/audit-log', [
        'enterprise' => 'generated',
        'phrase' => 'generated',
        'include' => 'generated',
        'after' => 'generated',
        'before' => 'generated',
        'order' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getAuditLog(        enterprise: 'generated',
        phrase: 'generated',
        include: 'generated',
        after: 'generated',
        before: 'generated',
        order: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise).

### enterprise-admin/get-audit-log

[](#enterprise-adminget-audit-log-1)

Get the audit log for an enterprise

Using the `call` method:

```
$client->call('LIST /enterprises/{enterprise}/audit-log', [
        'enterprise' => 'generated',
        'phrase' => 'generated',
        'include' => 'generated',
        'after' => 'generated',
        'before' => 'generated',
        'order' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getAuditLogListing(        enterprise: 'generated',
        phrase: 'generated',
        include: 'generated',
        after: 'generated',
        before: 'generated',
        order: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise).

### enterprise-admin/get-audit-log-stream-key

[](#enterprise-adminget-audit-log-stream-key)

Get the audit log stream key for encrypting secrets

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/audit-log/stream-key', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getAuditLogStreamKey(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#get-the-audit-log-stream-key-for-encrypting-secrets).

### enterprise-admin/get-audit-log-streams

[](#enterprise-adminget-audit-log-streams)

List audit log stream configurations for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/audit-log/streams', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getAuditLogStreams(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-audit-log-stream-configurations-for-an-enterprise).

### enterprise-admin/create-audit-log-stream

[](#enterprise-admincreate-audit-log-stream)

Create an audit log streaming configuration for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/audit-log/streams', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->createAuditLogStream(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#create-an-audit-log-streaming-configuration-for-an-enterprise).

### enterprise-admin/get-one-audit-log-stream

[](#enterprise-adminget-one-audit-log-stream)

List one audit log streaming configuration via a stream ID

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/audit-log/streams/{stream_id}', [
        'enterprise' => 'generated',
        'stream_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getOneAuditLogStream(        enterprise: 'generated',
        stream_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#list-one-audit-log-streaming-configuration-via-a-stream-id).

### enterprise-admin/update-audit-log-stream

[](#enterprise-adminupdate-audit-log-stream)

Update an existing audit log stream configuration

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/audit-log/streams/{stream_id}', [
        'enterprise' => 'generated',
        'stream_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->updateAuditLogStream(        enterprise: 'generated',
        stream_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#update-an-existing-audit-log-stream-configuration).

### enterprise-admin/delete-audit-log-stream

[](#enterprise-admindelete-audit-log-stream)

Delete an audit log streaming configuration for an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/audit-log/streams/{stream_id}', [
        'enterprise' => 'generated',
        'stream_id' => 9,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->deleteAuditLogStream(        enterprise: 'generated',
        stream_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/audit-log#delete-an-audit-log-streaming-configuration-for-an-enterprise).

### enterprise-admin/list-push-bypass-requests

[](#enterprise-adminlist-push-bypass-requests)

List push rule bypass requests within an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/bypass-requests/push-rules', [
        'enterprise' => 'generated',
        'organization_name' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listPushBypassRequests(        enterprise: 'generated',
        organization_name: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/bypass-requests#list-push-rule-bypass-requests-within-an-enterprise).

### enterprise-admin/list-push-bypass-requests

[](#enterprise-adminlist-push-bypass-requests-1)

List push rule bypass requests within an enterprise

Using the `call` method:

```
$client->call('LIST /enterprises/{enterprise}/bypass-requests/push-rules', [
        'enterprise' => 'generated',
        'organization_name' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->listPushBypassRequestsListing(        enterprise: 'generated',
        organization_name: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/bypass-requests#list-push-rule-bypass-requests-within-an-enterprise).

### code-scanning/list-alerts-for-enterprise

[](#code-scanninglist-alerts-for-enterprise)

List code scanning alerts for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/code-scanning/alerts', [
        'enterprise' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertsForEnterprise(        enterprise: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise).

### code-scanning/list-alerts-for-enterprise

[](#code-scanninglist-alerts-for-enterprise-1)

List code scanning alerts for an enterprise

Using the `call` method:

```
$client->call('LIST /enterprises/{enterprise}/code-scanning/alerts', [
        'enterprise' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertsForEnterpriseListing(        enterprise: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise).

### code-security/get-configurations-for-enterprise

[](#code-securityget-configurations-for-enterprise)

Get code security configurations for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/code-security/configurations', [
        'enterprise' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getConfigurationsForEnterprise(        enterprise: 'generated',
        before: 'generated',
        after: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-enterprise).

### code-security/create-configuration-for-enterprise

[](#code-securitycreate-configuration-for-enterprise)

Create a code security configuration for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/code-security/configurations', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->createConfigurationForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration-for-an-enterprise).

### code-security/get-default-configurations-for-enterprise

[](#code-securityget-default-configurations-for-enterprise)

Get default code security configurations for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/code-security/configurations/defaults', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getDefaultConfigurationsForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations-for-an-enterprise).

### code-security/get-single-configuration-for-enterprise

[](#code-securityget-single-configuration-for-enterprise)

Retrieve a code security configuration of an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}', [
        'enterprise' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getSingleConfigurationForEnterprise(        enterprise: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#retrieve-a-code-security-configuration-of-an-enterprise).

### code-security/delete-configuration-for-enterprise

[](#code-securitydelete-configuration-for-enterprise)

Delete a code security configuration for an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}', [
        'enterprise' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->deleteConfigurationForEnterprise(        enterprise: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration-for-an-enterprise).

### code-security/update-enterprise-configuration

[](#code-securityupdate-enterprise-configuration)

Update a custom code security configuration for an enterprise

Using the `call` method:

```
$client->call('PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}', [
        'enterprise' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->updateEnterpriseConfiguration(        enterprise: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-custom-code-security-configuration-for-an-enterprise).

### code-security/attach-enterprise-configuration

[](#code-securityattach-enterprise-configuration)

Attach an enterprise configuration to repositories

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach', [
        'enterprise' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->attachEnterpriseConfiguration(        enterprise: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-an-enterprise-configuration-to-repositories).

### code-security/set-configuration-as-default-for-enterprise

[](#code-securityset-configuration-as-default-for-enterprise)

Set a code security configuration as a default for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults', [
        'enterprise' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->setConfigurationAsDefaultForEnterprise(        enterprise: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-enterprise).

### code-security/get-repositories-for-enterprise-configuration

[](#code-securityget-repositories-for-enterprise-configuration)

Get repositories associated with an enterprise code security configuration

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories', [
        'enterprise' => 'generated',
        'configuration_id' => 16,
        'before' => 'generated',
        'after' => 'generated',
        'per_page' => 8,
        'status' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getRepositoriesForEnterpriseConfiguration(        enterprise: 'generated',
        configuration_id: 16,
        before: 'generated',
        after: 'generated',
        per_page: 8,
        status: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-an-enterprise-code-security-configuration).

### secret-scanning/get-security-analysis-settings-for-enterprise

[](#secret-scanningget-security-analysis-settings-for-enterprise)

Get code security and analysis features for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/code_security_and_analysis', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->secretScanning()->getSecurityAnalysisSettingsForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#get-code-security-and-analysis-features-for-an-enterprise).

### secret-scanning/patch-security-analysis-settings-for-enterprise

[](#secret-scanningpatch-security-analysis-settings-for-enterprise)

Update code security and analysis features for an enterprise

Using the `call` method:

```
$client->call('PATCH /enterprises/{enterprise}/code_security_and_analysis', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->secretScanning()->patchSecurityAnalysisSettingsForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise).

### enterprise-admin/get-consumed-licenses

[](#enterprise-adminget-consumed-licenses)

List enterprise consumed licenses

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/consumed-licenses', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getConsumedLicenses(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses).

### copilot/list-copilot-seats-for-enterprise

[](#copilotlist-copilot-seats-for-enterprise)

List all Copilot seat assignments for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/copilot/billing/seats', [
        'enterprise' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->listCopilotSeatsForEnterprise(        enterprise: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-enterprise).

### copilot/copilot-metrics-for-enterprise

[](#copilotcopilot-metrics-for-enterprise)

Get Copilot metrics for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/copilot/metrics', [
        'enterprise' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForEnterprise(        enterprise: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise).

### copilot/copilot-metrics-for-enterprise

[](#copilotcopilot-metrics-for-enterprise-1)

Get Copilot metrics for an enterprise

Using the `call` method:

```
$client->call('LIST /enterprises/{enterprise}/copilot/metrics', [
        'enterprise' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForEnterpriseListing(        enterprise: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise).

### dependabot/list-alerts-for-enterprise

[](#dependabotlist-alerts-for-enterprise)

List Dependabot alerts for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/dependabot/alerts', [
        'enterprise' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'ecosystem' => 'generated',
        'package' => 'generated',
        'epss_percentage' => 'generated',
        'scope' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'last' => 4,
        'sort' => 'generated',
        'direction' => 'generated',
        'first' => 5,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->dependabot()->listAlertsForEnterprise(        enterprise: 'generated',
        state: 'generated',
        severity: 'generated',
        ecosystem: 'generated',
        package: 'generated',
        epss_percentage: 'generated',
        scope: 'generated',
        before: 'generated',
        after: 'generated',
        last: 4,
        sort: 'generated',
        direction: 'generated',
        first: 5,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise).

### enterprise-admin/get-license-sync-status

[](#enterprise-adminget-license-sync-status)

Get a license sync status

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/license-sync-status', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getLicenseSyncStatus(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status).

### hosted-compute/list-network-configurations-for-enterprise

[](#hosted-computelist-network-configurations-for-enterprise)

List hosted compute network configurations for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/network-configurations', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->hostedCompute()->listNetworkConfigurationsForEnterprise(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#list-hosted-compute-network-configurations-for-an-enterprise).

### hosted-compute/create-network-configuration-for-enterprise

[](#hosted-computecreate-network-configuration-for-enterprise)

Create a hosted compute network configuration for an enterprise

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/network-configurations', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->createNetworkConfigurationForEnterprise(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#create-a-hosted-compute-network-configuration-for-an-enterprise).

### hosted-compute/get-network-configuration-for-enterprise

[](#hosted-computeget-network-configuration-for-enterprise)

Get a hosted compute network configuration for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/network-configurations/{network_configuration_id}', [
        'enterprise' => 'generated',
        'network_configuration_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->getNetworkConfigurationForEnterprise(        enterprise: 'generated',
        network_configuration_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-configuration-for-an-enterprise).

### hosted-compute/delete-network-configuration-from-enterprise

[](#hosted-computedelete-network-configuration-from-enterprise)

Delete a hosted compute network configuration from an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/network-configurations/{network_configuration_id}', [
        'enterprise' => 'generated',
        'network_configuration_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->deleteNetworkConfigurationFromEnterprise(        enterprise: 'generated',
        network_configuration_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#delete-a-hosted-compute-network-configuration-from-an-enterprise).

### hosted-compute/update-network-configuration-for-enterprise

[](#hosted-computeupdate-network-configuration-for-enterprise)

Update a hosted compute network configuration for an enterprise

Using the `call` method:

```
$client->call('PATCH /enterprises/{enterprise}/network-configurations/{network_configuration_id}', [
        'enterprise' => 'generated',
        'network_configuration_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->updateNetworkConfigurationForEnterprise(        enterprise: 'generated',
        network_configuration_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#update-a-hosted-compute-network-configuration-for-an-enterprise).

### hosted-compute/get-network-settings-for-enterprise

[](#hosted-computeget-network-settings-for-enterprise)

Get a hosted compute network settings resource for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/network-settings/{network_settings_id}', [
        'enterprise' => 'generated',
        'network_settings_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->getNetworkSettingsForEnterprise(        enterprise: 'generated',
        network_settings_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise).

### enterprise-admin/get-enterprise-custom-properties

[](#enterprise-adminget-enterprise-custom-properties)

Get custom properties for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/properties/schema', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getEnterpriseCustomProperties(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise).

### enterprise-admin/create-or-update-enterprise-custom-properties

[](#enterprise-admincreate-or-update-enterprise-custom-properties)

Create or update custom properties for an enterprise

Using the `call` method:

```
$client->call('PATCH /enterprises/{enterprise}/properties/schema', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->createOrUpdateEnterpriseCustomProperties(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise).

### enterprise-admin/promote-custom-property-to-enterprise

[](#enterprise-adminpromote-custom-property-to-enterprise)

Promote a custom property to an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/properties/schema/organizations/{org}/{custom_property_name}/promote', [
        'enterprise' => 'generated',
        'org' => 'generated',
        'custom_property_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->promoteCustomPropertyToEnterprise(        enterprise: 'generated',
        org: 'generated',
        custom_property_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#promote-a-custom-property-to-an-enterprise).

### enterprise-admin/get-enterprise-custom-property

[](#enterprise-adminget-enterprise-custom-property)

Get a custom property for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/properties/schema/{custom_property_name}', [
        'enterprise' => 'generated',
        'custom_property_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getEnterpriseCustomProperty(        enterprise: 'generated',
        custom_property_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise).

### enterprise-admin/create-or-update-enterprise-custom-property

[](#enterprise-admincreate-or-update-enterprise-custom-property)

Create or update a custom property for an enterprise

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/properties/schema/{custom_property_name}', [
        'enterprise' => 'generated',
        'custom_property_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->createOrUpdateEnterpriseCustomProperty(        enterprise: 'generated',
        custom_property_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise).

### enterprise-admin/remove-enterprise-custom-property

[](#enterprise-adminremove-enterprise-custom-property)

Remove a custom property for an enterprise

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/properties/schema/{custom_property_name}', [
        'enterprise' => 'generated',
        'custom_property_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->removeEnterpriseCustomProperty(        enterprise: 'generated',
        custom_property_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise).

### repos/create-enterprise-ruleset

[](#reposcreate-enterprise-ruleset)

Create an enterprise repository ruleset

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/rulesets', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->createEnterpriseRuleset(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#create-an-enterprise-repository-ruleset).

### repos/get-enterprise-ruleset

[](#reposget-enterprise-ruleset)

Get an enterprise repository ruleset

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}', [
        'enterprise' => 'generated',
        'ruleset_id' => 10,
]);
```

Operations method:

```
$client->operations()->repos()->getEnterpriseRuleset(        enterprise: 'generated',
        ruleset_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-an-enterprise-repository-ruleset).

### repos/update-enterprise-ruleset

[](#reposupdate-enterprise-ruleset)

Update an enterprise repository ruleset

Using the `call` method:

```
$client->call('PUT /enterprises/{enterprise}/rulesets/{ruleset_id}', [
        'enterprise' => 'generated',
        'ruleset_id' => 10,
]);
```

Operations method:

```
$client->operations()->repos()->updateEnterpriseRuleset(        enterprise: 'generated',
        ruleset_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#update-an-enterprise-repository-ruleset).

### repos/delete-enterprise-ruleset

[](#reposdelete-enterprise-ruleset)

Delete an enterprise repository ruleset

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/rulesets/{ruleset_id}', [
        'enterprise' => 'generated',
        'ruleset_id' => 10,
]);
```

Operations method:

```
$client->operations()->repos()->deleteEnterpriseRuleset(        enterprise: 'generated',
        ruleset_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#delete-an-enterprise-repository-ruleset).

### enterprise-admin/get-enterprise-ruleset-history

[](#enterprise-adminget-enterprise-ruleset-history)

Get enterprise ruleset history

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history', [
        'enterprise' => 'generated',
        'ruleset_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getEnterpriseRulesetHistory(        enterprise: 'generated',
        ruleset_id: 10,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history).

### enterprise-admin/get-enterprise-ruleset-history

[](#enterprise-adminget-enterprise-ruleset-history-1)

Get enterprise ruleset history

Using the `call` method:

```
$client->call('LIST /enterprises/{enterprise}/rulesets/{ruleset_id}/history', [
        'enterprise' => 'generated',
        'ruleset_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getEnterpriseRulesetHistoryListing(        enterprise: 'generated',
        ruleset_id: 10,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-history).

### enterprise-admin/get-enterprise-ruleset-version

[](#enterprise-adminget-enterprise-ruleset-version)

Get enterprise ruleset version

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id}', [
        'enterprise' => 'generated',
        'ruleset_id' => 10,
        'version_id' => 10,
]);
```

Operations method:

```
$client->operations()->enterpriseAdmin()->getEnterpriseRulesetVersion(        enterprise: 'generated',
        ruleset_id: 10,
        version_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/rules#get-enterprise-ruleset-version).

### secret-scanning/list-alerts-for-enterprise

[](#secret-scanninglist-alerts-for-enterprise)

List secret scanning alerts for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/secret-scanning/alerts', [
        'enterprise' => 'generated',
        'state' => 'generated',
        'secret_type' => 'generated',
        'resolution' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'validity' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'is_publicly_leaked' => ,
        'is_multi_repo' => ,
]);
```

Operations method:

```
$client->operations()->secretScanning()->listAlertsForEnterprise(        enterprise: 'generated',
        state: 'generated',
        secret_type: 'generated',
        resolution: 'generated',
        before: 'generated',
        after: 'generated',
        validity: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        is_publicly_leaked: ,
        is_multi_repo: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise).

### billing/get-github-actions-billing-ghe

[](#billingget-github-actions-billing-ghe)

Get GitHub Actions billing for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/settings/billing/actions', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getGithubActionsBillingGhe(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise).

### billing/get-github-advanced-security-billing-ghe

[](#billingget-github-advanced-security-billing-ghe)

Get GitHub Advanced Security active committers for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/settings/billing/advanced-security', [
        'enterprise' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->billing()->getGithubAdvancedSecurityBillingGhe(        enterprise: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise).

### billing/get-all-cost-centers

[](#billingget-all-cost-centers)

Get all cost centers for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/settings/billing/cost-centers', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getAllCostCenters(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise).

### billing/add-resource-to-cost-center

[](#billingadd-resource-to-cost-center)

Add users to a cost center

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource', [
        'enterprise' => 'generated',
        'cost_center_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->addResourceToCostCenter(        enterprise: 'generated',
        cost_center_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center).

### billing/remove-resource-from-cost-center

[](#billingremove-resource-from-cost-center)

Remove users from a cost center

Using the `call` method:

```
$client->call('DELETE /enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource', [
        'enterprise' => 'generated',
        'cost_center_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->removeResourceFromCostCenter(        enterprise: 'generated',
        cost_center_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center).

### billing/get-github-packages-billing-ghe

[](#billingget-github-packages-billing-ghe)

Get GitHub Packages billing for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/settings/billing/packages', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getGithubPackagesBillingGhe(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise).

### billing/get-shared-storage-billing-ghe

[](#billingget-shared-storage-billing-ghe)

Get shared storage billing for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/settings/billing/shared-storage', [
        'enterprise' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getSharedStorageBillingGhe(        enterprise: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise).

### billing/get-github-billing-usage-report-ghe

[](#billingget-github-billing-usage-report-ghe)

Get billing usage report for an enterprise

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/settings/billing/usage', [
        'enterprise' => 'generated',
        'year' => 4,
        'month' => 5,
        'day' => 3,
        'hour' => 4,
        'cost_center_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getGithubBillingUsageReportGhe(        enterprise: 'generated',
        year: 4,
        month: 5,
        day: 3,
        hour: 4,
        cost_center_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise).

### copilot/copilot-metrics-for-enterprise-team

[](#copilotcopilot-metrics-for-enterprise-team)

Get Copilot metrics for an enterprise team

Using the `call` method:

```
$client->call('GET /enterprises/{enterprise}/team/{team_slug}/copilot/metrics', [
        'enterprise' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForEnterpriseTeam(        enterprise: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team).

### copilot/copilot-metrics-for-enterprise-team

[](#copilotcopilot-metrics-for-enterprise-team-1)

Get Copilot metrics for an enterprise team

Using the `call` method:

```
$client->call('LIST /enterprises/{enterprise}/team/{team_slug}/copilot/metrics', [
        'enterprise' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForEnterpriseTeamListing(        enterprise: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-enterprise-team).

### secret-scanning/post-security-product-enablement-for-enterprise

[](#secret-scanningpost-security-product-enablement-for-enterprise)

Enable or disable a security feature

Using the `call` method:

```
$client->call('POST /enterprises/{enterprise}/{security_product}/{enablement}', [
        'enterprise' => 'generated',
        'security_product' => 'generated',
        'enablement' => 'generated',
]);
```

Operations method:

```
$client->operations()->secretScanning()->postSecurityProductEnablementForEnterprise(        enterprise: 'generated',
        security_product: 'generated',
        enablement: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature).

### activity/list-public-events

[](#activitylist-public-events)

List public events

Using the `call` method:

```
$client->call('GET /events', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->activity()->listPublicEvents(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events).

### activity/list-public-events

[](#activitylist-public-events-1)

List public events

Using the `call` method:

```
$client->call('LIST /events', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->activity()->listPublicEventsListing(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events).

### activity/get-feeds

[](#activityget-feeds)

Get feeds

Using the `call` method:

```
$client->call('GET /feeds');
```

Operations method:

```
$client->operations()->activity()->getFeeds();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/feeds#get-feeds).

### gists/list

[](#gistslist)

List gists for the authenticated user

Using the `call` method:

```
$client->call('GET /gists', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->list(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user).

### gists/list

[](#gistslist-1)

List gists for the authenticated user

Using the `call` method:

```
$client->call('LIST /gists', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listListing(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user).

### gists/create

[](#gistscreate)

Create a gist

Using the `call` method:

```
$client->call('POST /gists');
```

Operations method:

```
$client->operations()->gists()->create();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#create-a-gist).

### gists/list-public

[](#gistslist-public)

List public gists

Using the `call` method:

```
$client->call('GET /gists/public', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listPublic(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists).

### gists/list-public

[](#gistslist-public-1)

List public gists

Using the `call` method:

```
$client->call('LIST /gists/public', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listPublicListing(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists).

### gists/list-starred

[](#gistslist-starred)

List starred gists

Using the `call` method:

```
$client->call('GET /gists/starred', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listStarred(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists).

### gists/list-starred

[](#gistslist-starred-1)

List starred gists

Using the `call` method:

```
$client->call('LIST /gists/starred', [
        'since' => '1970-01-01T00:00:00+00:00',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listStarredListing(        since: '1970-01-01T00:00:00+00:00',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists).

### gists/get

[](#gistsget)

Get a gist

Using the `call` method:

```
$client->call('GET /gists/{gist_id}', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->get(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist).

### gists/delete

[](#gistsdelete)

Delete a gist

Using the `call` method:

```
$client->call('DELETE /gists/{gist_id}', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->delete(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist).

### gists/update

[](#gistsupdate)

Update a gist

Using the `call` method:

```
$client->call('PATCH /gists/{gist_id}', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->update(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist).

### gists/list-comments

[](#gistslist-comments)

List gist comments

Using the `call` method:

```
$client->call('GET /gists/{gist_id}/comments', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listComments(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments).

### gists/list-comments

[](#gistslist-comments-1)

List gist comments

Using the `call` method:

```
$client->call('LIST /gists/{gist_id}/comments', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listCommentsListing(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments).

### gists/create-comment

[](#gistscreate-comment)

Create a gist comment

Using the `call` method:

```
$client->call('POST /gists/{gist_id}/comments', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->createComment(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment).

### gists/get-comment

[](#gistsget-comment)

Get a gist comment

Using the `call` method:

```
$client->call('GET /gists/{gist_id}/comments/{comment_id}', [
        'gist_id' => 'generated',
        'comment_id' => 10,
]);
```

Operations method:

```
$client->operations()->gists()->getComment(        gist_id: 'generated',
        comment_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment).

### gists/delete-comment

[](#gistsdelete-comment)

Delete a gist comment

Using the `call` method:

```
$client->call('DELETE /gists/{gist_id}/comments/{comment_id}', [
        'gist_id' => 'generated',
        'comment_id' => 10,
]);
```

Operations method:

```
$client->operations()->gists()->deleteComment(        gist_id: 'generated',
        comment_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment).

### gists/update-comment

[](#gistsupdate-comment)

Update a gist comment

Using the `call` method:

```
$client->call('PATCH /gists/{gist_id}/comments/{comment_id}', [
        'gist_id' => 'generated',
        'comment_id' => 10,
]);
```

Operations method:

```
$client->operations()->gists()->updateComment(        gist_id: 'generated',
        comment_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment).

### gists/list-commits

[](#gistslist-commits)

List gist commits

Using the `call` method:

```
$client->call('GET /gists/{gist_id}/commits', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listCommits(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits).

### gists/list-commits

[](#gistslist-commits-1)

List gist commits

Using the `call` method:

```
$client->call('LIST /gists/{gist_id}/commits', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listCommitsListing(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits).

### gists/list-forks

[](#gistslist-forks)

List gist forks

Using the `call` method:

```
$client->call('GET /gists/{gist_id}/forks', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listForks(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks).

### gists/list-forks

[](#gistslist-forks-1)

List gist forks

Using the `call` method:

```
$client->call('LIST /gists/{gist_id}/forks', [
        'gist_id' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->gists()->listForksListing(        gist_id: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks).

### gists/fork

[](#gistsfork)

Fork a gist

Using the `call` method:

```
$client->call('POST /gists/{gist_id}/forks', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->fork(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist).

### gists/check-is-starred

[](#gistscheck-is-starred)

Check if a gist is starred

Using the `call` method:

```
$client->call('GET /gists/{gist_id}/star', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->checkIsStarred(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred).

### gists/star

[](#gistsstar)

Star a gist

Using the `call` method:

```
$client->call('PUT /gists/{gist_id}/star', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->star(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist).

### gists/unstar

[](#gistsunstar)

Unstar a gist

Using the `call` method:

```
$client->call('DELETE /gists/{gist_id}/star', [
        'gist_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->unstar(        gist_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist).

### gists/get-revision

[](#gistsget-revision)

Get a gist revision

Using the `call` method:

```
$client->call('GET /gists/{gist_id}/{sha}', [
        'gist_id' => 'generated',
        'sha' => 'generated',
]);
```

Operations method:

```
$client->operations()->gists()->getRevision(        gist_id: 'generated',
        sha: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision).

### gitignore/get-all-templates

[](#gitignoreget-all-templates)

Get all gitignore templates

Using the `call` method:

```
$client->call('GET /gitignore/templates');
```

Operations method:

```
$client->operations()->gitignore()->getAllTemplates();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gitignore/gitignore#get-all-gitignore-templates).

### gitignore/get-template

[](#gitignoreget-template)

Get a gitignore template

Using the `call` method:

```
$client->call('GET /gitignore/templates/{name}', [
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->gitignore()->getTemplate(        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/gitignore/gitignore#get-a-gitignore-template).

### apps/list-repos-accessible-to-installation

[](#appslist-repos-accessible-to-installation)

List repositories accessible to the app installation

Using the `call` method:

```
$client->call('GET /installation/repositories', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listReposAccessibleToInstallation(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#list-repositories-accessible-to-the-app-installation).

### apps/revoke-installation-access-token

[](#appsrevoke-installation-access-token)

Revoke an installation access token

Using the `call` method:

```
$client->call('DELETE /installation/token');
```

Operations method:

```
$client->operations()->apps()->revokeInstallationAccessToken();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#revoke-an-installation-access-token).

### issues/list

[](#issueslist)

List issues assigned to the authenticated user

Using the `call` method:

```
$client->call('GET /issues', [
        'labels' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'collab' => ,
        'orgs' => ,
        'owned' => ,
        'pulls' => ,
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->issues()->list(        labels: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        collab: ,
        orgs: ,
        owned: ,
        pulls: ,
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-issues-assigned-to-the-authenticated-user).

### issues/list

[](#issueslist-1)

List issues assigned to the authenticated user

Using the `call` method:

```
$client->call('LIST /issues', [
        'labels' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'collab' => ,
        'orgs' => ,
        'owned' => ,
        'pulls' => ,
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->issues()->listListing(        labels: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        collab: ,
        orgs: ,
        owned: ,
        pulls: ,
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-issues-assigned-to-the-authenticated-user).

### licenses/get-all-commonly-used

[](#licensesget-all-commonly-used)

Get all commonly used licenses

Using the `call` method:

```
$client->call('GET /licenses', [
        'featured' => ,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->licenses()->getAllCommonlyUsed(        featured: ,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-all-commonly-used-licenses).

### licenses/get-all-commonly-used

[](#licensesget-all-commonly-used-1)

Get all commonly used licenses

Using the `call` method:

```
$client->call('LIST /licenses', [
        'featured' => ,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->licenses()->getAllCommonlyUsedListing(        featured: ,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-all-commonly-used-licenses).

### licenses/get

[](#licensesget)

Get a license

Using the `call` method:

```
$client->call('GET /licenses/{license}', [
        'license' => 'generated',
]);
```

Operations method:

```
$client->operations()->licenses()->get(        license: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-a-license).

### markdown/render

[](#markdownrender)

Render a Markdown document

Using the `call` method:

```
$client->call('POST /markdown');
```

Operations method:

```
$client->operations()->markdown()->render();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/markdown/markdown#render-a-markdown-document).

### markdown/render-raw

[](#markdownrender-raw)

Render a Markdown document in raw mode

Using the `call` method:

```
$client->call('POST /markdown/raw');
```

Operations method:

```
$client->operations()->markdown()->renderRaw();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/markdown/markdown#render-a-markdown-document-in-raw-mode).

### apps/get-subscription-plan-for-account

[](#appsget-subscription-plan-for-account)

Get a subscription plan for an account

Using the `call` method:

```
$client->call('GET /marketplace_listing/accounts/{account_id}', [
        'account_id' => 10,
]);
```

Operations method:

```
$client->operations()->apps()->getSubscriptionPlanForAccount(        account_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account).

### apps/list-plans

[](#appslist-plans)

List plans

Using the `call` method:

```
$client->call('GET /marketplace_listing/plans', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listPlans(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-plans).

### apps/list-plans

[](#appslist-plans-1)

List plans

Using the `call` method:

```
$client->call('LIST /marketplace_listing/plans', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listPlansListing(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-plans).

### apps/list-accounts-for-plan

[](#appslist-accounts-for-plan)

List accounts for a plan

Using the `call` method:

```
$client->call('GET /marketplace_listing/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listAccountsForPlan(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan).

### apps/list-accounts-for-plan

[](#appslist-accounts-for-plan-1)

List accounts for a plan

Using the `call` method:

```
$client->call('LIST /marketplace_listing/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listAccountsForPlanListing(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan).

### apps/get-subscription-plan-for-account-stubbed

[](#appsget-subscription-plan-for-account-stubbed)

Get a subscription plan for an account (stubbed)

Using the `call` method:

```
$client->call('GET /marketplace_listing/stubbed/accounts/{account_id}', [
        'account_id' => 10,
]);
```

Operations method:

```
$client->operations()->apps()->getSubscriptionPlanForAccountStubbed(        account_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed).

### apps/list-plans-stubbed

[](#appslist-plans-stubbed)

List plans (stubbed)

Using the `call` method:

```
$client->call('GET /marketplace_listing/stubbed/plans', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listPlansStubbed(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-plans-stubbed).

### apps/list-plans-stubbed

[](#appslist-plans-stubbed-1)

List plans (stubbed)

Using the `call` method:

```
$client->call('LIST /marketplace_listing/stubbed/plans', [
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listPlansStubbedListing(        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-plans-stubbed).

### apps/list-accounts-for-plan-stubbed

[](#appslist-accounts-for-plan-stubbed)

List accounts for a plan (stubbed)

Using the `call` method:

```
$client->call('GET /marketplace_listing/stubbed/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listAccountsForPlanStubbed(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed).

### apps/list-accounts-for-plan-stubbed

[](#appslist-accounts-for-plan-stubbed-1)

List accounts for a plan (stubbed)

Using the `call` method:

```
$client->call('LIST /marketplace_listing/stubbed/plans/{plan_id}/accounts', [
        'plan_id' => 7,
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->apps()->listAccountsForPlanStubbedListing(        plan_id: 7,
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed).

### meta/get

[](#metaget)

Get GitHub Enterprise Cloud meta information

Using the `call` method:

```
$client->call('GET /meta');
```

Operations method:

```
$client->operations()->meta()->get();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#get-apiname-meta-information).

### activity/list-public-events-for-repo-network

[](#activitylist-public-events-for-repo-network)

List public events for a network of repositories

Using the `call` method:

```
$client->call('GET /networks/{owner}/{repo}/events', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->activity()->listPublicEventsForRepoNetwork(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories).

### activity/list-public-events-for-repo-network

[](#activitylist-public-events-for-repo-network-1)

List public events for a network of repositories

Using the `call` method:

```
$client->call('LIST /networks/{owner}/{repo}/events', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->activity()->listPublicEventsForRepoNetworkListing(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories).

### activity/list-notifications-for-authenticated-user

[](#activitylist-notifications-for-authenticated-user)

List notifications for the authenticated user

Using the `call` method:

```
$client->call('GET /notifications', [
        'since' => '1970-01-01T00:00:00+00:00',
        'before' => '1970-01-01T00:00:00+00:00',
        'all' => ,
        'participating' => ,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->activity()->listNotificationsForAuthenticatedUser(        since: '1970-01-01T00:00:00+00:00',
        before: '1970-01-01T00:00:00+00:00',
        all: ,
        participating: ,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user).

### activity/list-notifications-for-authenticated-user

[](#activitylist-notifications-for-authenticated-user-1)

List notifications for the authenticated user

Using the `call` method:

```
$client->call('LIST /notifications', [
        'since' => '1970-01-01T00:00:00+00:00',
        'before' => '1970-01-01T00:00:00+00:00',
        'all' => ,
        'participating' => ,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->activity()->listNotificationsForAuthenticatedUserListing(        since: '1970-01-01T00:00:00+00:00',
        before: '1970-01-01T00:00:00+00:00',
        all: ,
        participating: ,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user).

### activity/mark-notifications-as-read

[](#activitymark-notifications-as-read)

Mark notifications as read

Using the `call` method:

```
$client->call('PUT /notifications');
```

Operations method:

```
$client->operations()->activity()->markNotificationsAsRead();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-notifications-as-read).

### activity/get-thread

[](#activityget-thread)

Get a thread

Using the `call` method:

```
$client->call('GET /notifications/threads/{thread_id}', [
        'thread_id' => 9,
]);
```

Operations method:

```
$client->operations()->activity()->getThread(        thread_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread).

### activity/mark-thread-as-done

[](#activitymark-thread-as-done)

Mark a thread as done

Using the `call` method:

```
$client->call('DELETE /notifications/threads/{thread_id}', [
        'thread_id' => 9,
]);
```

Operations method:

```
$client->operations()->activity()->markThreadAsDone(        thread_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done).

### activity/mark-thread-as-read

[](#activitymark-thread-as-read)

Mark a thread as read

Using the `call` method:

```
$client->call('PATCH /notifications/threads/{thread_id}', [
        'thread_id' => 9,
]);
```

Operations method:

```
$client->operations()->activity()->markThreadAsRead(        thread_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read).

### activity/get-thread-subscription-for-authenticated-user

[](#activityget-thread-subscription-for-authenticated-user)

Get a thread subscription for the authenticated user

Using the `call` method:

```
$client->call('GET /notifications/threads/{thread_id}/subscription', [
        'thread_id' => 9,
]);
```

Operations method:

```
$client->operations()->activity()->getThreadSubscriptionForAuthenticatedUser(        thread_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user).

### activity/set-thread-subscription

[](#activityset-thread-subscription)

Set a thread subscription

Using the `call` method:

```
$client->call('PUT /notifications/threads/{thread_id}/subscription', [
        'thread_id' => 9,
]);
```

Operations method:

```
$client->operations()->activity()->setThreadSubscription(        thread_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription).

### activity/delete-thread-subscription

[](#activitydelete-thread-subscription)

Delete a thread subscription

Using the `call` method:

```
$client->call('DELETE /notifications/threads/{thread_id}/subscription', [
        'thread_id' => 9,
]);
```

Operations method:

```
$client->operations()->activity()->deleteThreadSubscription(        thread_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription).

### meta/get-octocat

[](#metaget-octocat)

Get Octocat

Using the `call` method:

```
$client->call('GET /octocat', [
        's' => 'generated',
]);
```

Operations method:

```
$client->operations()->meta()->getOctocat(        s: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/meta/meta#get-octocat).

### orgs/list

[](#orgslist)

List organizations

Using the `call` method:

```
$client->call('GET /organizations', [
        'since' => 5,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->orgs()->list(        since: 5,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations).

### orgs/list-custom-roles

[](#orgslist-custom-roles)

Closing down - List custom repository roles in an organization

Using the `call` method:

```
$client->call('GET /organizations/{organization_id}/custom_roles', [
        'organization_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listCustomRoles(        organization_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-custom-repository-roles-in-an-organization).

### billing/get-github-billing-usage-report-org

[](#billingget-github-billing-usage-report-org)

Get billing usage report for an organization

Using the `call` method:

```
$client->call('GET /organizations/{org}/settings/billing/usage', [
        'org' => 'generated',
        'year' => 4,
        'month' => 5,
        'day' => 3,
        'hour' => 4,
]);
```

Operations method:

```
$client->operations()->billing()->getGithubBillingUsageReportOrg(        org: 'generated',
        year: 4,
        month: 5,
        day: 3,
        hour: 4,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization).

### orgs/get

[](#orgsget)

Get an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->get(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization).

### orgs/delete

[](#orgsdelete)

Delete an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->delete(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization).

### orgs/update

[](#orgsupdate)

Update an organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->update(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization).

### actions/get-actions-cache-usage-for-org

[](#actionsget-actions-cache-usage-for-org)

Get GitHub Actions cache usage for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/cache/usage', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getActionsCacheUsageForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization).

### actions/get-actions-cache-usage-by-repo-for-org

[](#actionsget-actions-cache-usage-by-repo-for-org)

List repositories with GitHub Actions cache usage for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/cache/usage-by-repository', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->getActionsCacheUsageByRepoForOrg(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization).

### actions/list-hosted-runners-for-org

[](#actionslist-hosted-runners-for-org)

List GitHub-hosted runners for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/hosted-runners', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listHostedRunnersForOrg(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#list-github-hosted-runners-for-an-organization).

### actions/create-hosted-runner-for-org

[](#actionscreate-hosted-runner-for-org)

Create a GitHub-hosted runner for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/actions/hosted-runners', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createHostedRunnerForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#create-a-github-hosted-runner-for-an-organization).

### actions/get-hosted-runners-github-owned-images-for-org

[](#actionsget-hosted-runners-github-owned-images-for-org)

Get GitHub-owned images for GitHub-hosted runners in an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/hosted-runners/images/github-owned', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersGithubOwnedImagesForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-owned-images-for-github-hosted-runners-in-an-organization).

### actions/get-hosted-runners-partner-images-for-org

[](#actionsget-hosted-runners-partner-images-for-org)

Get partner images for GitHub-hosted runners in an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/hosted-runners/images/partner', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersPartnerImagesForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-partner-images-for-github-hosted-runners-in-an-organization).

### actions/get-hosted-runners-limits-for-org

[](#actionsget-hosted-runners-limits-for-org)

Get limits on GitHub-hosted runners for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/hosted-runners/limits', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersLimitsForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-limits-on-github-hosted-runners-for-an-organization).

### actions/get-hosted-runners-machine-specs-for-org

[](#actionsget-hosted-runners-machine-specs-for-org)

Get GitHub-hosted runners machine specs for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/hosted-runners/machine-sizes', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersMachineSpecsForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-github-hosted-runners-machine-specs-for-an-organization).

### actions/get-hosted-runners-platforms-for-org

[](#actionsget-hosted-runners-platforms-for-org)

Get platforms for GitHub-hosted runners in an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/hosted-runners/platforms', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnersPlatformsForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-platforms-for-github-hosted-runners-in-an-organization).

### actions/get-hosted-runner-for-org

[](#actionsget-hosted-runner-for-org)

Get a GitHub-hosted runner for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}', [
        'org' => 'generated',
        'hosted_runner_id' => 16,
]);
```

Operations method:

```
$client->operations()->actions()->getHostedRunnerForOrg(        org: 'generated',
        hosted_runner_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization).

### actions/delete-hosted-runner-for-org

[](#actionsdelete-hosted-runner-for-org)

Delete a GitHub-hosted runner for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}', [
        'org' => 'generated',
        'hosted_runner_id' => 16,
]);
```

Operations method:

```
$client->operations()->actions()->deleteHostedRunnerForOrg(        org: 'generated',
        hosted_runner_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization).

### actions/update-hosted-runner-for-org

[](#actionsupdate-hosted-runner-for-org)

Update a GitHub-hosted runner for an organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}', [
        'org' => 'generated',
        'hosted_runner_id' => 16,
]);
```

Operations method:

```
$client->operations()->actions()->updateHostedRunnerForOrg(        org: 'generated',
        hosted_runner_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization).

### oidc/get-oidc-custom-sub-template-for-org

[](#oidcget-oidc-custom-sub-template-for-org)

Get the customization template for an OIDC subject claim for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/oidc/customization/sub', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->oidc()->getOidcCustomSubTemplateForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization).

### oidc/update-oidc-custom-sub-template-for-org

[](#oidcupdate-oidc-custom-sub-template-for-org)

Set the customization template for an OIDC subject claim for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/oidc/customization/sub', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->oidc()->updateOidcCustomSubTemplateForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization).

### actions/get-github-actions-permissions-organization

[](#actionsget-github-actions-permissions-organization)

Get GitHub Actions permissions for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/permissions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getGithubActionsPermissionsOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization).

### actions/set-github-actions-permissions-organization

[](#actionsset-github-actions-permissions-organization)

Set GitHub Actions permissions for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/permissions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setGithubActionsPermissionsOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization).

### actions/list-selected-repositories-enabled-github-actions-organization

[](#actionslist-selected-repositories-enabled-github-actions-organization)

List selected repositories enabled for GitHub Actions in an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/permissions/repositories', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listSelectedRepositoriesEnabledGithubActionsOrganization(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization).

### actions/set-selected-repositories-enabled-github-actions-organization

[](#actionsset-selected-repositories-enabled-github-actions-organization)

Set selected repositories enabled for GitHub Actions in an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/permissions/repositories', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setSelectedRepositoriesEnabledGithubActionsOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization).

### actions/enable-selected-repository-github-actions-organization

[](#actionsenable-selected-repository-github-actions-organization)

Enable a selected repository for GitHub Actions in an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/permissions/repositories/{repository_id}', [
        'org' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->enableSelectedRepositoryGithubActionsOrganization(        org: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization).

### actions/disable-selected-repository-github-actions-organization

[](#actionsdisable-selected-repository-github-actions-organization)

Disable a selected repository for GitHub Actions in an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}', [
        'org' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->disableSelectedRepositoryGithubActionsOrganization(        org: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization).

### actions/get-allowed-actions-organization

[](#actionsget-allowed-actions-organization)

Get allowed actions and reusable workflows for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/permissions/selected-actions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getAllowedActionsOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization).

### actions/set-allowed-actions-organization

[](#actionsset-allowed-actions-organization)

Set allowed actions for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/permissions/selected-actions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setAllowedActionsOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization).

### actions/get-github-actions-default-workflow-permissions-organization

[](#actionsget-github-actions-default-workflow-permissions-organization)

Get default workflow permissions for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/permissions/workflow', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization).

### actions/set-github-actions-default-workflow-permissions-organization

[](#actionsset-github-actions-default-workflow-permissions-organization)

Set default workflow permissions for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/permissions/workflow', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization).

### actions/list-self-hosted-runner-groups-for-org

[](#actionslist-self-hosted-runner-groups-for-org)

List self-hosted runner groups for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runner-groups', [
        'org' => 'generated',
        'visible_to_repository' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listSelfHostedRunnerGroupsForOrg(        org: 'generated',
        visible_to_repository: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization).

### actions/create-self-hosted-runner-group-for-org

[](#actionscreate-self-hosted-runner-group-for-org)

Create a self-hosted runner group for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/actions/runner-groups', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createSelfHostedRunnerGroupForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization).

### actions/get-self-hosted-runner-group-for-org

[](#actionsget-self-hosted-runner-group-for-org)

Get a self-hosted runner group for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->actions()->getSelfHostedRunnerGroupForOrg(        org: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization).

### actions/delete-self-hosted-runner-group-from-org

[](#actionsdelete-self-hosted-runner-group-from-org)

Delete a self-hosted runner group from an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->actions()->deleteSelfHostedRunnerGroupFromOrg(        org: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization).

### actions/update-self-hosted-runner-group-for-org

[](#actionsupdate-self-hosted-runner-group-for-org)

Update a self-hosted runner group for an organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->actions()->updateSelfHostedRunnerGroupForOrg(        org: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization).

### actions/list-github-hosted-runners-in-group-for-org

[](#actionslist-github-hosted-runners-in-group-for-org)

List GitHub-hosted runners in a group for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listGithubHostedRunnersInGroupForOrg(        org: 'generated',
        runner_group_id: 15,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization).

### actions/list-repo-access-to-self-hosted-runner-group-in-org

[](#actionslist-repo-access-to-self-hosted-runner-group-in-org)

List repository access to a self-hosted runner group in an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->actions()->listRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization).

### actions/set-repo-access-to-self-hosted-runner-group-in-org

[](#actionsset-repo-access-to-self-hosted-runner-group-in-org)

Set repository access for a self-hosted runner group in an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->actions()->setRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization).

### actions/add-repo-access-to-self-hosted-runner-group-in-org

[](#actionsadd-repo-access-to-self-hosted-runner-group-in-org)

Add repository access to a self-hosted runner group in an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->addRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization).

### actions/remove-repo-access-to-self-hosted-runner-group-in-org

[](#actionsremove-repo-access-to-self-hosted-runner-group-in-org)

Remove repository access to a self-hosted runner group in an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->removeRepoAccessToSelfHostedRunnerGroupInOrg(        org: 'generated',
        runner_group_id: 15,
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization).

### actions/list-self-hosted-runners-in-group-for-org

[](#actionslist-self-hosted-runners-in-group-for-org)

List self-hosted runners in a group for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listSelfHostedRunnersInGroupForOrg(        org: 'generated',
        runner_group_id: 15,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization).

### actions/set-self-hosted-runners-in-group-for-org

[](#actionsset-self-hosted-runners-in-group-for-org)

Set self-hosted runners in a group for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
        'org' => 'generated',
        'runner_group_id' => 15,
]);
```

Operations method:

```
$client->operations()->actions()->setSelfHostedRunnersInGroupForOrg(        org: 'generated',
        runner_group_id: 15,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization).

### actions/add-self-hosted-runner-to-group-for-org

[](#actionsadd-self-hosted-runner-to-group-for-org)

Add a self-hosted runner to a group for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->addSelfHostedRunnerToGroupForOrg(        org: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization).

### actions/remove-self-hosted-runner-from-group-for-org

[](#actionsremove-self-hosted-runner-from-group-for-org)

Remove a self-hosted runner from a group for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
        'org' => 'generated',
        'runner_group_id' => 15,
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->removeSelfHostedRunnerFromGroupForOrg(        org: 'generated',
        runner_group_id: 15,
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization).

### actions/list-self-hosted-runners-for-org

[](#actionslist-self-hosted-runners-for-org)

List self-hosted runners for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runners', [
        'name' => 'generated',
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listSelfHostedRunnersForOrg(        name: 'generated',
        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-organization).

### actions/list-runner-applications-for-org

[](#actionslist-runner-applications-for-org)

List runner applications for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runners/downloads', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->listRunnerApplicationsForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization).

### actions/generate-runner-jitconfig-for-org

[](#actionsgenerate-runner-jitconfig-for-org)

Create configuration for a just-in-time runner for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/actions/runners/generate-jitconfig', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->generateRunnerJitconfigForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization).

### actions/create-registration-token-for-org

[](#actionscreate-registration-token-for-org)

Create a registration token for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/actions/runners/registration-token', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createRegistrationTokenForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization).

### actions/create-remove-token-for-org

[](#actionscreate-remove-token-for-org)

Create a remove token for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/actions/runners/remove-token', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createRemoveTokenForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization).

### actions/get-self-hosted-runner-for-org

[](#actionsget-self-hosted-runner-for-org)

Get a self-hosted runner for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runners/{runner_id}', [
        'org' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->getSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization).

### actions/delete-self-hosted-runner-from-org

[](#actionsdelete-self-hosted-runner-from-org)

Delete a self-hosted runner from an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}', [
        'org' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->deleteSelfHostedRunnerFromOrg(        org: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization).

### actions/list-labels-for-self-hosted-runner-for-org

[](#actionslist-labels-for-self-hosted-runner-for-org)

List labels for a self-hosted runner for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->listLabelsForSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization).

### actions/set-custom-labels-for-self-hosted-runner-for-org

[](#actionsset-custom-labels-for-self-hosted-runner-for-org)

Set custom labels for a self-hosted runner for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->setCustomLabelsForSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization).

### actions/add-custom-labels-to-self-hosted-runner-for-org

[](#actionsadd-custom-labels-to-self-hosted-runner-for-org)

Add custom labels to a self-hosted runner for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->addCustomLabelsToSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization).

### actions/remove-all-custom-labels-from-self-hosted-runner-for-org

[](#actionsremove-all-custom-labels-from-self-hosted-runner-for-org)

Remove all custom labels from a self-hosted runner for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}/labels', [
        'org' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->removeAllCustomLabelsFromSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization).

### actions/remove-custom-label-from-self-hosted-runner-for-org

[](#actionsremove-custom-label-from-self-hosted-runner-for-org)

Remove a custom label from a self-hosted runner for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}', [
        'org' => 'generated',
        'runner_id' => 9,
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->removeCustomLabelFromSelfHostedRunnerForOrg(        org: 'generated',
        runner_id: 9,
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization).

### actions/list-org-secrets

[](#actionslist-org-secrets)

List organization secrets

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/secrets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listOrgSecrets(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets).

### actions/get-org-public-key

[](#actionsget-org-public-key)

Get an organization public key

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/secrets/public-key', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getOrgPublicKey(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key).

### actions/get-org-secret

[](#actionsget-org-secret)

Get an organization secret

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret).

### actions/create-or-update-org-secret

[](#actionscreate-or-update-org-secret)

Create or update an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createOrUpdateOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret).

### actions/delete-org-secret

[](#actionsdelete-org-secret)

Delete an organization secret

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->deleteOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret).

### actions/list-selected-repos-for-org-secret

[](#actionslist-selected-repos-for-org-secret)

List selected repositories for an organization secret

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->actions()->listSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret).

### actions/set-selected-repos-for-org-secret

[](#actionsset-selected-repos-for-org-secret)

Set selected repositories for an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret).

### actions/add-selected-repo-to-org-secret

[](#actionsadd-selected-repo-to-org-secret)

Add selected repository to an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->addSelectedRepoToOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret).

### actions/remove-selected-repo-from-org-secret

[](#actionsremove-selected-repo-from-org-secret)

Remove selected repository from an organization secret

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->removeSelectedRepoFromOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret).

### actions/list-org-variables

[](#actionslist-org-variables)

List organization variables

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/variables', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listOrgVariables(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables).

### actions/create-org-variable

[](#actionscreate-org-variable)

Create an organization variable

Using the `call` method:

```
$client->call('POST /orgs/{org}/actions/variables', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createOrgVariable(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable).

### actions/get-org-variable

[](#actionsget-org-variable)

Get an organization variable

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/variables/{name}', [
        'org' => 'generated',
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getOrgVariable(        org: 'generated',
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable).

### actions/delete-org-variable

[](#actionsdelete-org-variable)

Delete an organization variable

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/variables/{name}', [
        'org' => 'generated',
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->deleteOrgVariable(        org: 'generated',
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable).

### actions/update-org-variable

[](#actionsupdate-org-variable)

Update an organization variable

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/actions/variables/{name}', [
        'org' => 'generated',
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->updateOrgVariable(        org: 'generated',
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable).

### actions/list-selected-repos-for-org-variable

[](#actionslist-selected-repos-for-org-variable)

List selected repositories for an organization variable

Using the `call` method:

```
$client->call('GET /orgs/{org}/actions/variables/{name}/repositories', [
        'org' => 'generated',
        'name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->actions()->listSelectedReposForOrgVariable(        org: 'generated',
        name: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable).

### actions/set-selected-repos-for-org-variable

[](#actionsset-selected-repos-for-org-variable)

Set selected repositories for an organization variable

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/variables/{name}/repositories', [
        'org' => 'generated',
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setSelectedReposForOrgVariable(        org: 'generated',
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable).

### actions/add-selected-repo-to-org-variable

[](#actionsadd-selected-repo-to-org-variable)

Add selected repository to an organization variable

Using the `call` method:

```
$client->call('PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}', [
        'org' => 'generated',
        'name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->addSelectedRepoToOrgVariable(        org: 'generated',
        name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable).

### actions/remove-selected-repo-from-org-variable

[](#actionsremove-selected-repo-from-org-variable)

Remove selected repository from an organization variable

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}', [
        'org' => 'generated',
        'name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->actions()->removeSelectedRepoFromOrgVariable(        org: 'generated',
        name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable).

### announcement-banners/get-announcement-banner-for-org

[](#announcement-bannersget-announcement-banner-for-org)

Get announcement banner for organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/announcement', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->announcementBanners()->getAnnouncementBannerForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization).

### announcement-banners/remove-announcement-banner-for-org

[](#announcement-bannersremove-announcement-banner-for-org)

Remove announcement banner from organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/announcement', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->announcementBanners()->removeAnnouncementBannerForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization).

### announcement-banners/set-announcement-banner-for-org

[](#announcement-bannersset-announcement-banner-for-org)

Set announcement banner for organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/announcement', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->announcementBanners()->setAnnouncementBannerForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#set-announcement-banner-for-organization).

### orgs/list-attestations

[](#orgslist-attestations)

List attestations

Using the `call` method:

```
$client->call('GET /orgs/{org}/attestations/{subject_digest}', [
        'before' => 'generated',
        'after' => 'generated',
        'org' => 'generated',
        'subject_digest' => 'generated',
        'predicate_type' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->orgs()->listAttestations(        before: 'generated',
        after: 'generated',
        org: 'generated',
        subject_digest: 'generated',
        predicate_type: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-attestations).

### orgs/get-audit-log

[](#orgsget-audit-log)

Get the audit log for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/audit-log', [
        'org' => 'generated',
        'phrase' => 'generated',
        'include' => 'generated',
        'after' => 'generated',
        'before' => 'generated',
        'order' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->orgs()->getAuditLog(        org: 'generated',
        phrase: 'generated',
        include: 'generated',
        after: 'generated',
        before: 'generated',
        order: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization).

### orgs/list-blocked-users

[](#orgslist-blocked-users)

List users blocked by an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/blocks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listBlockedUsers(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization).

### orgs/list-blocked-users

[](#orgslist-blocked-users-1)

List users blocked by an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/blocks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listBlockedUsersListing(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization).

### orgs/check-blocked-user

[](#orgscheck-blocked-user)

Check if a user is blocked by an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/blocks/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->checkBlockedUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization).

### orgs/block-user

[](#orgsblock-user)

Block a user from an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/blocks/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->blockUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization).

### orgs/unblock-user

[](#orgsunblock-user)

Unblock a user from an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/blocks/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->unblockUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization).

### orgs/list-push-bypass-requests

[](#orgslist-push-bypass-requests)

List push rule bypass requests within an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/bypass-requests/push-rules', [
        'org' => 'generated',
        'repository_name' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPushBypassRequests(        org: 'generated',
        repository_name: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/bypass-requests#list-push-rule-bypass-requests-within-an-organization).

### orgs/list-push-bypass-requests

[](#orgslist-push-bypass-requests-1)

List push rule bypass requests within an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/bypass-requests/push-rules', [
        'org' => 'generated',
        'repository_name' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPushBypassRequestsListing(        org: 'generated',
        repository_name: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/bypass-requests#list-push-rule-bypass-requests-within-an-organization).

### secret-scanning/list-org-bypass-requests

[](#secret-scanninglist-org-bypass-requests)

List bypass requests for secret scanning for an org

Using the `call` method:

```
$client->call('GET /orgs/{org}/bypass-requests/secret-scanning', [
        'org' => 'generated',
        'repository_name' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->secretScanning()->listOrgBypassRequests(        org: 'generated',
        repository_name: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org).

### secret-scanning/list-org-bypass-requests

[](#secret-scanninglist-org-bypass-requests-1)

List bypass requests for secret scanning for an org

Using the `call` method:

```
$client->call('LIST /orgs/{org}/bypass-requests/secret-scanning', [
        'org' => 'generated',
        'repository_name' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->secretScanning()->listOrgBypassRequestsListing(        org: 'generated',
        repository_name: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-an-org).

### code-scanning/list-alerts-for-org

[](#code-scanninglist-alerts-for-org)

List code scanning alerts for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/code-scanning/alerts', [
        'org' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertsForOrg(        org: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization).

### code-scanning/list-alerts-for-org

[](#code-scanninglist-alerts-for-org-1)

List code scanning alerts for an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/code-scanning/alerts', [
        'org' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertsForOrgListing(        org: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization).

### code-security/get-configurations-for-org

[](#code-securityget-configurations-for-org)

Get code security configurations for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/code-security/configurations', [
        'org' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'target_type' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getConfigurationsForOrg(        org: 'generated',
        before: 'generated',
        after: 'generated',
        target_type: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization).

### code-security/create-configuration

[](#code-securitycreate-configuration)

Create a code security configuration

Using the `call` method:

```
$client->call('POST /orgs/{org}/code-security/configurations', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->createConfiguration(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration).

### code-security/get-default-configurations

[](#code-securityget-default-configurations)

Get default code security configurations

Using the `call` method:

```
$client->call('GET /orgs/{org}/code-security/configurations/defaults', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getDefaultConfigurations(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations).

### code-security/detach-configuration

[](#code-securitydetach-configuration)

Detach configurations from repositories

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/code-security/configurations/detach', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->detachConfiguration(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories).

### code-security/get-configuration

[](#code-securityget-configuration)

Get a code security configuration

Using the `call` method:

```
$client->call('GET /orgs/{org}/code-security/configurations/{configuration_id}', [
        'org' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getConfiguration(        org: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration).

### code-security/delete-configuration

[](#code-securitydelete-configuration)

Delete a code security configuration

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/code-security/configurations/{configuration_id}', [
        'org' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->deleteConfiguration(        org: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration).

### code-security/update-configuration

[](#code-securityupdate-configuration)

Update a code security configuration

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/code-security/configurations/{configuration_id}', [
        'org' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->updateConfiguration(        org: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration).

### code-security/attach-configuration

[](#code-securityattach-configuration)

Attach a configuration to repositories

Using the `call` method:

```
$client->call('POST /orgs/{org}/code-security/configurations/{configuration_id}/attach', [
        'org' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->attachConfiguration(        org: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories).

### code-security/set-configuration-as-default

[](#code-securityset-configuration-as-default)

Set a code security configuration as a default for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults', [
        'org' => 'generated',
        'configuration_id' => 16,
]);
```

Operations method:

```
$client->operations()->codeSecurity()->setConfigurationAsDefault(        org: 'generated',
        configuration_id: 16,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization).

### code-security/get-repositories-for-configuration

[](#code-securityget-repositories-for-configuration)

Get repositories associated with a code security configuration

Using the `call` method:

```
$client->call('GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories', [
        'org' => 'generated',
        'configuration_id' => 16,
        'before' => 'generated',
        'after' => 'generated',
        'per_page' => 8,
        'status' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getRepositoriesForConfiguration(        org: 'generated',
        configuration_id: 16,
        before: 'generated',
        after: 'generated',
        per_page: 8,
        status: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration).

### codespaces/list-in-organization

[](#codespaceslist-in-organization)

List codespaces for the organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/codespaces', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->codespaces()->listInOrganization(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#list-codespaces-for-the-organization).

### codespaces/set-codespaces-access

[](#codespacesset-codespaces-access)

Manage access control for organization codespaces

Using the `call` method:

```
$client->call('PUT /orgs/{org}/codespaces/access', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->setCodespacesAccess(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces).

### codespaces/set-codespaces-access-users

[](#codespacesset-codespaces-access-users)

Add users to Codespaces access for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/codespaces/access/selected_users', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->setCodespacesAccessUsers(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization).

### codespaces/delete-codespaces-access-users

[](#codespacesdelete-codespaces-access-users)

Remove users from Codespaces access for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/codespaces/access/selected_users', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->deleteCodespacesAccessUsers(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization).

### codespaces/list-org-secrets

[](#codespaceslist-org-secrets)

List organization secrets

Using the `call` method:

```
$client->call('GET /orgs/{org}/codespaces/secrets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->codespaces()->listOrgSecrets(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets).

### codespaces/get-org-public-key

[](#codespacesget-org-public-key)

Get an organization public key

Using the `call` method:

```
$client->call('GET /orgs/{org}/codespaces/secrets/public-key', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->getOrgPublicKey(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key).

### codespaces/get-org-secret

[](#codespacesget-org-secret)

Get an organization secret

Using the `call` method:

```
$client->call('GET /orgs/{org}/codespaces/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->getOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret).

### codespaces/create-or-update-org-secret

[](#codespacescreate-or-update-org-secret)

Create or update an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->createOrUpdateOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret).

### codespaces/delete-org-secret

[](#codespacesdelete-org-secret)

Delete an organization secret

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/codespaces/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->deleteOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret).

### codespaces/list-selected-repos-for-org-secret

[](#codespaceslist-selected-repos-for-org-secret)

List selected repositories for an organization secret

Using the `call` method:

```
$client->call('GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->codespaces()->listSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret).

### codespaces/set-selected-repos-for-org-secret

[](#codespacesset-selected-repos-for-org-secret)

Set selected repositories for an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->setSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret).

### codespaces/add-selected-repo-to-org-secret

[](#codespacesadd-selected-repo-to-org-secret)

Add selected repository to an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->codespaces()->addSelectedRepoToOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret).

### codespaces/remove-selected-repo-from-org-secret

[](#codespacesremove-selected-repo-from-org-secret)

Remove selected repository from an organization secret

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->codespaces()->removeSelectedRepoFromOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret).

### copilot/get-copilot-organization-details

[](#copilotget-copilot-organization-details)

Get Copilot seat information and settings for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/copilot/billing', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->copilot()->getCopilotOrganizationDetails(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization).

### copilot/list-copilot-seats

[](#copilotlist-copilot-seats)

List all Copilot seat assignments for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/copilot/billing/seats', [
        'org' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->listCopilotSeats(        org: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization).

### copilot/add-copilot-seats-for-teams

[](#copilotadd-copilot-seats-for-teams)

Add teams to the Copilot subscription for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/copilot/billing/selected_teams', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->copilot()->addCopilotSeatsForTeams(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization).

### copilot/cancel-copilot-seat-assignment-for-teams

[](#copilotcancel-copilot-seat-assignment-for-teams)

Remove teams from the Copilot subscription for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/copilot/billing/selected_teams', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->copilot()->cancelCopilotSeatAssignmentForTeams(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization).

### copilot/add-copilot-seats-for-users

[](#copilotadd-copilot-seats-for-users)

Add users to the Copilot subscription for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/copilot/billing/selected_users', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->copilot()->addCopilotSeatsForUsers(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization).

### copilot/cancel-copilot-seat-assignment-for-users

[](#copilotcancel-copilot-seat-assignment-for-users)

Remove users from the Copilot subscription for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/copilot/billing/selected_users', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->copilot()->cancelCopilotSeatAssignmentForUsers(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization).

### copilot/copilot-metrics-for-organization

[](#copilotcopilot-metrics-for-organization)

Get Copilot metrics for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/copilot/metrics', [
        'org' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForOrganization(        org: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization).

### copilot/copilot-metrics-for-organization

[](#copilotcopilot-metrics-for-organization-1)

Get Copilot metrics for an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/copilot/metrics', [
        'org' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForOrganizationListing(        org: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization).

### orgs/list-saml-sso-authorizations

[](#orgslist-saml-sso-authorizations)

List SAML SSO authorizations for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/credential-authorizations', [
        'org' => 'generated',
        'page' => 1,
        'login' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->orgs()->listSamlSsoAuthorizations(        org: 'generated',
        page: 1,
        login: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization).

### orgs/list-saml-sso-authorizations

[](#orgslist-saml-sso-authorizations-1)

List SAML SSO authorizations for an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/credential-authorizations', [
        'org' => 'generated',
        'page' => 1,
        'login' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->orgs()->listSamlSsoAuthorizationsListing(        org: 'generated',
        page: 1,
        login: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization).

### orgs/remove-saml-sso-authorization

[](#orgsremove-saml-sso-authorization)

Remove a SAML SSO authorization for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/credential-authorizations/{credential_id}', [
        'org' => 'generated',
        'credential_id' => 13,
]);
```

Operations method:

```
$client->operations()->orgs()->removeSamlSsoAuthorization(        org: 'generated',
        credential_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization).

### orgs/list-custom-repo-roles

[](#orgslist-custom-repo-roles)

List custom repository roles in an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/custom-repository-roles', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listCustomRepoRoles(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization).

### orgs/create-custom-repo-role

[](#orgscreate-custom-repo-role)

Create a custom repository role

Using the `call` method:

```
$client->call('POST /orgs/{org}/custom-repository-roles', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createCustomRepoRole(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role).

### orgs/get-custom-repo-role

[](#orgsget-custom-repo-role)

Get a custom repository role

Using the `call` method:

```
$client->call('GET /orgs/{org}/custom-repository-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->getCustomRepoRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role).

### orgs/delete-custom-repo-role

[](#orgsdelete-custom-repo-role)

Delete a custom repository role

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/custom-repository-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->deleteCustomRepoRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role).

### orgs/update-custom-repo-role

[](#orgsupdate-custom-repo-role)

Update a custom repository role

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/custom-repository-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->updateCustomRepoRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role).

### orgs/create-custom-role

[](#orgscreate-custom-role)

Closing down - Create a custom role

Using the `call` method:

```
$client->call('POST /orgs/{org}/custom_roles', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createCustomRole(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role).

### orgs/get-custom-role

[](#orgsget-custom-role)

Closing down - Get a custom role

Using the `call` method:

```
$client->call('GET /orgs/{org}/custom_roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->getCustomRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role).

### orgs/delete-custom-role

[](#orgsdelete-custom-role)

Closing down - Delete a custom role

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/custom_roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->deleteCustomRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role).

### orgs/update-custom-role

[](#orgsupdate-custom-role)

Closing down - Update a custom role

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/custom_roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->updateCustomRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role).

### dependabot/list-alerts-for-org

[](#dependabotlist-alerts-for-org)

List Dependabot alerts for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/dependabot/alerts', [
        'org' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'ecosystem' => 'generated',
        'package' => 'generated',
        'epss_percentage' => 'generated',
        'scope' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'last' => 4,
        'sort' => 'generated',
        'direction' => 'generated',
        'first' => 5,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->dependabot()->listAlertsForOrg(        org: 'generated',
        state: 'generated',
        severity: 'generated',
        ecosystem: 'generated',
        package: 'generated',
        epss_percentage: 'generated',
        scope: 'generated',
        before: 'generated',
        after: 'generated',
        last: 4,
        sort: 'generated',
        direction: 'generated',
        first: 5,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization).

### dependabot/list-org-secrets

[](#dependabotlist-org-secrets)

List organization secrets

Using the `call` method:

```
$client->call('GET /orgs/{org}/dependabot/secrets', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->dependabot()->listOrgSecrets(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets).

### dependabot/get-org-public-key

[](#dependabotget-org-public-key)

Get an organization public key

Using the `call` method:

```
$client->call('GET /orgs/{org}/dependabot/secrets/public-key', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->dependabot()->getOrgPublicKey(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key).

### dependabot/get-org-secret

[](#dependabotget-org-secret)

Get an organization secret

Using the `call` method:

```
$client->call('GET /orgs/{org}/dependabot/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->dependabot()->getOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret).

### dependabot/create-or-update-org-secret

[](#dependabotcreate-or-update-org-secret)

Create or update an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/dependabot/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->dependabot()->createOrUpdateOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret).

### dependabot/delete-org-secret

[](#dependabotdelete-org-secret)

Delete an organization secret

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/dependabot/secrets/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->dependabot()->deleteOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret).

### dependabot/list-selected-repos-for-org-secret

[](#dependabotlist-selected-repos-for-org-secret)

List selected repositories for an organization secret

Using the `call` method:

```
$client->call('GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->dependabot()->listSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret).

### dependabot/set-selected-repos-for-org-secret

[](#dependabotset-selected-repos-for-org-secret)

Set selected repositories for an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->dependabot()->setSelectedReposForOrgSecret(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret).

### dependabot/add-selected-repo-to-org-secret

[](#dependabotadd-selected-repo-to-org-secret)

Add selected repository to an organization secret

Using the `call` method:

```
$client->call('PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->dependabot()->addSelectedRepoToOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret).

### dependabot/remove-selected-repo-from-org-secret

[](#dependabotremove-selected-repo-from-org-secret)

Remove selected repository from an organization secret

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}', [
        'org' => 'generated',
        'secret_name' => 'generated',
        'repository_id' => 13,
]);
```

Operations method:

```
$client->operations()->dependabot()->removeSelectedRepoFromOrgSecret(        org: 'generated',
        secret_name: 'generated',
        repository_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret).

### packages/list-docker-migration-conflicting-packages-for-organization

[](#packageslist-docker-migration-conflicting-packages-for-organization)

Get list of conflicting packages during Docker migration for organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/docker/conflicts', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->packages()->listDockerMigrationConflictingPackagesForOrganization(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization).

### activity/list-public-org-events

[](#activitylist-public-org-events)

List public organization events

Using the `call` method:

```
$client->call('GET /orgs/{org}/events', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->activity()->listPublicOrgEvents(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events).

### activity/list-public-org-events

[](#activitylist-public-org-events-1)

List public organization events

Using the `call` method:

```
$client->call('LIST /orgs/{org}/events', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->activity()->listPublicOrgEventsListing(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events).

### teams/external-idp-group-info-for-org

[](#teamsexternal-idp-group-info-for-org)

Get an external group

Using the `call` method:

```
$client->call('GET /orgs/{org}/external-group/{group_id}', [
        'org' => 'generated',
        'group_id' => 8,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->externalIdpGroupInfoForOrg(        org: 'generated',
        group_id: 8,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group).

### teams/list-external-idp-groups-for-org

[](#teamslist-external-idp-groups-for-org)

List external groups in an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/external-groups', [
        'org' => 'generated',
        'page' => 1,
        'display_name' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->teams()->listExternalIdpGroupsForOrg(        org: 'generated',
        page: 1,
        display_name: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization).

### orgs/list-failed-invitations

[](#orgslist-failed-invitations)

List failed organization invitations

Using the `call` method:

```
$client->call('GET /orgs/{org}/failed_invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listFailedInvitations(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations).

### orgs/list-failed-invitations

[](#orgslist-failed-invitations-1)

List failed organization invitations

Using the `call` method:

```
$client->call('LIST /orgs/{org}/failed_invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listFailedInvitationsListing(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations).

### orgs/list-fine-grained-permissions

[](#orgslist-fine-grained-permissions)

Closing down - List fine-grained permissions for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/fine_grained_permissions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listFineGrainedPermissions(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization).

### orgs/list-webhooks

[](#orgslist-webhooks)

List organization webhooks

Using the `call` method:

```
$client->call('GET /orgs/{org}/hooks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listWebhooks(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks).

### orgs/list-webhooks

[](#orgslist-webhooks-1)

List organization webhooks

Using the `call` method:

```
$client->call('LIST /orgs/{org}/hooks', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listWebhooksListing(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks).

### orgs/create-webhook

[](#orgscreate-webhook)

Create an organization webhook

Using the `call` method:

```
$client->call('POST /orgs/{org}/hooks', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createWebhook(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook).

### orgs/get-webhook

[](#orgsget-webhook)

Get an organization webhook

Using the `call` method:

```
$client->call('GET /orgs/{org}/hooks/{hook_id}', [
        'org' => 'generated',
        'hook_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->getWebhook(        org: 'generated',
        hook_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook).

### orgs/delete-webhook

[](#orgsdelete-webhook)

Delete an organization webhook

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/hooks/{hook_id}', [
        'org' => 'generated',
        'hook_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->deleteWebhook(        org: 'generated',
        hook_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook).

### orgs/update-webhook

[](#orgsupdate-webhook)

Update an organization webhook

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/hooks/{hook_id}', [
        'org' => 'generated',
        'hook_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->updateWebhook(        org: 'generated',
        hook_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook).

### orgs/get-webhook-config-for-org

[](#orgsget-webhook-config-for-org)

Get a webhook configuration for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/hooks/{hook_id}/config', [
        'org' => 'generated',
        'hook_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->getWebhookConfigForOrg(        org: 'generated',
        hook_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).

### orgs/update-webhook-config-for-org

[](#orgsupdate-webhook-config-for-org)

Update a webhook configuration for an organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/hooks/{hook_id}/config', [
        'org' => 'generated',
        'hook_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->updateWebhookConfigForOrg(        org: 'generated',
        hook_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization).

### orgs/list-webhook-deliveries

[](#orgslist-webhook-deliveries)

List deliveries for an organization webhook

Using the `call` method:

```
$client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries', [
        'org' => 'generated',
        'hook_id' => 7,
        'cursor' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->orgs()->listWebhookDeliveries(        org: 'generated',
        hook_id: 7,
        cursor: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook).

### orgs/get-webhook-delivery

[](#orgsget-webhook-delivery)

Get a webhook delivery for an organization webhook

Using the `call` method:

```
$client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}', [
        'org' => 'generated',
        'hook_id' => 7,
        'delivery_id' => 11,
]);
```

Operations method:

```
$client->operations()->orgs()->getWebhookDelivery(        org: 'generated',
        hook_id: 7,
        delivery_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook).

### orgs/redeliver-webhook-delivery

[](#orgsredeliver-webhook-delivery)

Redeliver a delivery for an organization webhook

Using the `call` method:

```
$client->call('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', [
        'org' => 'generated',
        'hook_id' => 7,
        'delivery_id' => 11,
]);
```

Operations method:

```
$client->operations()->orgs()->redeliverWebhookDelivery(        org: 'generated',
        hook_id: 7,
        delivery_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook).

### orgs/ping-webhook

[](#orgsping-webhook)

Ping an organization webhook

Using the `call` method:

```
$client->call('POST /orgs/{org}/hooks/{hook_id}/pings', [
        'org' => 'generated',
        'hook_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->pingWebhook(        org: 'generated',
        hook_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook).

### api-insights/get-route-stats-by-actor

[](#api-insightsget-route-stats-by-actor)

Get route stats by actor

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}', [
        'org' => 'generated',
        'actor_type' => 'generated',
        'actor_id' => 8,
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'sort' => ,
        'api_route_substring' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getRouteStatsByActor(        org: 'generated',
        actor_type: 'generated',
        actor_id: 8,
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        sort: ,
        api_route_substring: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor).

### api-insights/get-route-stats-by-actor

[](#api-insightsget-route-stats-by-actor-1)

Get route stats by actor

Using the `call` method:

```
$client->call('LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}', [
        'org' => 'generated',
        'actor_type' => 'generated',
        'actor_id' => 8,
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'sort' => ,
        'api_route_substring' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getRouteStatsByActorListing(        org: 'generated',
        actor_type: 'generated',
        actor_id: 8,
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        sort: ,
        api_route_substring: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor).

### api-insights/get-subject-stats

[](#api-insightsget-subject-stats)

Get subject stats

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/subject-stats', [
        'org' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'sort' => ,
        'subject_name_substring' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getSubjectStats(        org: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        sort: ,
        subject_name_substring: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats).

### api-insights/get-subject-stats

[](#api-insightsget-subject-stats-1)

Get subject stats

Using the `call` method:

```
$client->call('LIST /orgs/{org}/insights/api/subject-stats', [
        'org' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'sort' => ,
        'subject_name_substring' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getSubjectStatsListing(        org: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        sort: ,
        subject_name_substring: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats).

### api-insights/get-summary-stats

[](#api-insightsget-summary-stats)

Get summary stats

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/summary-stats', [
        'org' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getSummaryStats(        org: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats).

### api-insights/get-summary-stats-by-user

[](#api-insightsget-summary-stats-by-user)

Get summary stats by user

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/summary-stats/users/{user_id}', [
        'org' => 'generated',
        'user_id' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getSummaryStatsByUser(        org: 'generated',
        user_id: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user).

### api-insights/get-summary-stats-by-actor

[](#api-insightsget-summary-stats-by-actor)

Get summary stats by actor

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}', [
        'org' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'actor_type' => 'generated',
        'actor_id' => 8,
]);
```

Operations method:

```
$client->operations()->apiInsights()->getSummaryStatsByActor(        org: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        actor_type: 'generated',
        actor_id: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor).

### api-insights/get-time-stats

[](#api-insightsget-time-stats)

Get time stats

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/time-stats', [
        'org' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'timestamp_increment' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getTimeStats(        org: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        timestamp_increment: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats).

### api-insights/get-time-stats-by-user

[](#api-insightsget-time-stats-by-user)

Get time stats by user

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/time-stats/users/{user_id}', [
        'org' => 'generated',
        'user_id' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'timestamp_increment' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getTimeStatsByUser(        org: 'generated',
        user_id: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        timestamp_increment: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user).

### api-insights/get-time-stats-by-actor

[](#api-insightsget-time-stats-by-actor)

Get time stats by actor

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}', [
        'org' => 'generated',
        'actor_type' => 'generated',
        'actor_id' => 8,
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'timestamp_increment' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getTimeStatsByActor(        org: 'generated',
        actor_type: 'generated',
        actor_id: 8,
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        timestamp_increment: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor).

### api-insights/get-user-stats

[](#api-insightsget-user-stats)

Get user stats

Using the `call` method:

```
$client->call('GET /orgs/{org}/insights/api/user-stats/{user_id}', [
        'org' => 'generated',
        'user_id' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'sort' => ,
        'actor_name_substring' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getUserStats(        org: 'generated',
        user_id: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        sort: ,
        actor_name_substring: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats).

### api-insights/get-user-stats

[](#api-insightsget-user-stats-1)

Get user stats

Using the `call` method:

```
$client->call('LIST /orgs/{org}/insights/api/user-stats/{user_id}', [
        'org' => 'generated',
        'user_id' => 'generated',
        'min_timestamp' => 'generated',
        'max_timestamp' => 'generated',
        'sort' => ,
        'actor_name_substring' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->apiInsights()->getUserStatsListing(        org: 'generated',
        user_id: 'generated',
        min_timestamp: 'generated',
        max_timestamp: 'generated',
        sort: ,
        actor_name_substring: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats).

### apps/get-org-installation

[](#appsget-org-installation)

Get an organization installation for the authenticated app

Using the `call` method:

```
$client->call('GET /orgs/{org}/installation', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->apps()->getOrgInstallation(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app).

### orgs/list-app-installations

[](#orgslist-app-installations)

List app installations for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/installations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listAppInstallations(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization).

### interactions/get-restrictions-for-org

[](#interactionsget-restrictions-for-org)

Get interaction restrictions for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/interaction-limits', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->interactions()->getRestrictionsForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization).

### interactions/set-restrictions-for-org

[](#interactionsset-restrictions-for-org)

Set interaction restrictions for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/interaction-limits', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->interactions()->setRestrictionsForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization).

### interactions/remove-restrictions-for-org

[](#interactionsremove-restrictions-for-org)

Remove interaction restrictions for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/interaction-limits', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->interactions()->removeRestrictionsForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization).

### orgs/list-pending-invitations

[](#orgslist-pending-invitations)

List pending organization invitations

Using the `call` method:

```
$client->call('GET /orgs/{org}/invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'role' => 'generated',
        'invitation_source' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listPendingInvitations(        org: 'generated',
        per_page: 8,
        page: 1,
        role: 'generated',
        invitation_source: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations).

### orgs/list-pending-invitations

[](#orgslist-pending-invitations-1)

List pending organization invitations

Using the `call` method:

```
$client->call('LIST /orgs/{org}/invitations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'role' => 'generated',
        'invitation_source' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listPendingInvitationsListing(        org: 'generated',
        per_page: 8,
        page: 1,
        role: 'generated',
        invitation_source: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations).

### orgs/create-invitation

[](#orgscreate-invitation)

Create an organization invitation

Using the `call` method:

```
$client->call('POST /orgs/{org}/invitations', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createInvitation(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation).

### orgs/cancel-invitation

[](#orgscancel-invitation)

Cancel an organization invitation

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/invitations/{invitation_id}', [
        'org' => 'generated',
        'invitation_id' => 13,
]);
```

Operations method:

```
$client->operations()->orgs()->cancelInvitation(        org: 'generated',
        invitation_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation).

### orgs/list-invitation-teams

[](#orgslist-invitation-teams)

List organization invitation teams

Using the `call` method:

```
$client->call('GET /orgs/{org}/invitations/{invitation_id}/teams', [
        'org' => 'generated',
        'invitation_id' => 13,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listInvitationTeams(        org: 'generated',
        invitation_id: 13,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams).

### orgs/list-invitation-teams

[](#orgslist-invitation-teams-1)

List organization invitation teams

Using the `call` method:

```
$client->call('LIST /orgs/{org}/invitations/{invitation_id}/teams', [
        'org' => 'generated',
        'invitation_id' => 13,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listInvitationTeamsListing(        org: 'generated',
        invitation_id: 13,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams).

### orgs/list-issue-types

[](#orgslist-issue-types)

List issue types for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/issue-types', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listIssueTypes(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#list-issue-types-for-an-organization).

### orgs/create-issue-type

[](#orgscreate-issue-type)

Create issue type for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/issue-types', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createIssueType(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#create-issue-type-for-an-organization).

### orgs/update-issue-type

[](#orgsupdate-issue-type)

Update issue type for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/issue-types/{issue_type_id}', [
        'org' => 'generated',
        'issue_type_id' => 13,
]);
```

Operations method:

```
$client->operations()->orgs()->updateIssueType(        org: 'generated',
        issue_type_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization).

### orgs/delete-issue-type

[](#orgsdelete-issue-type)

Delete issue type for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/issue-types/{issue_type_id}', [
        'org' => 'generated',
        'issue_type_id' => 13,
]);
```

Operations method:

```
$client->operations()->orgs()->deleteIssueType(        org: 'generated',
        issue_type_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization).

### issues/list-for-org

[](#issueslist-for-org)

List organization issues assigned to the authenticated user

Using the `call` method:

```
$client->call('GET /orgs/{org}/issues', [
        'org' => 'generated',
        'labels' => 'generated',
        'type' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->issues()->listForOrg(        org: 'generated',
        labels: 'generated',
        type: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user).

### issues/list-for-org

[](#issueslist-for-org-1)

List organization issues assigned to the authenticated user

Using the `call` method:

```
$client->call('LIST /orgs/{org}/issues', [
        'org' => 'generated',
        'labels' => 'generated',
        'type' => 'generated',
        'since' => '1970-01-01T00:00:00+00:00',
        'filter' => 'generated',
        'state' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->issues()->listForOrgListing(        org: 'generated',
        labels: 'generated',
        type: 'generated',
        since: '1970-01-01T00:00:00+00:00',
        filter: 'generated',
        state: 'generated',
        sort: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user).

### orgs/list-members

[](#orgslist-members)

List organization members

Using the `call` method:

```
$client->call('GET /orgs/{org}/members', [
        'org' => 'generated',
        'filter' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listMembers(        org: 'generated',
        filter: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members).

### orgs/list-members

[](#orgslist-members-1)

List organization members

Using the `call` method:

```
$client->call('LIST /orgs/{org}/members', [
        'org' => 'generated',
        'filter' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listMembersListing(        org: 'generated',
        filter: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members).

### orgs/check-membership-for-user

[](#orgscheck-membership-for-user)

Check organization membership for a user

Using the `call` method:

```
$client->call('GET /orgs/{org}/members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->checkMembershipForUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user).

### orgs/remove-member

[](#orgsremove-member)

Remove an organization member

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->removeMember(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member).

### codespaces/get-codespaces-for-user-in-org

[](#codespacesget-codespaces-for-user-in-org)

List codespaces for a user in organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/members/{username}/codespaces', [
        'org' => 'generated',
        'username' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->codespaces()->getCodespacesForUserInOrg(        org: 'generated',
        username: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#list-codespaces-for-a-user-in-organization).

### codespaces/delete-from-organization

[](#codespacesdelete-from-organization)

Delete a codespace from the organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}', [
        'org' => 'generated',
        'username' => 'generated',
        'codespace_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->deleteFromOrganization(        org: 'generated',
        username: 'generated',
        codespace_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization).

### codespaces/stop-in-organization

[](#codespacesstop-in-organization)

Stop a codespace for an organization user

Using the `call` method:

```
$client->call('POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop', [
        'org' => 'generated',
        'username' => 'generated',
        'codespace_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->stopInOrganization(        org: 'generated',
        username: 'generated',
        codespace_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user).

### copilot/get-copilot-seat-details-for-user

[](#copilotget-copilot-seat-details-for-user)

Get Copilot seat assignment details for a user

Using the `call` method:

```
$client->call('GET /orgs/{org}/members/{username}/copilot', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->copilot()->getCopilotSeatDetailsForUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user).

### orgs/get-membership-for-user

[](#orgsget-membership-for-user)

Get organization membership for a user

Using the `call` method:

```
$client->call('GET /orgs/{org}/memberships/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->getMembershipForUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user).

### orgs/set-membership-for-user

[](#orgsset-membership-for-user)

Set organization membership for a user

Using the `call` method:

```
$client->call('PUT /orgs/{org}/memberships/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->setMembershipForUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user).

### orgs/remove-membership-for-user

[](#orgsremove-membership-for-user)

Remove organization membership for a user

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/memberships/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->removeMembershipForUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user).

### migrations/list-for-org

[](#migrationslist-for-org)

List organization migrations

Using the `call` method:

```
$client->call('GET /orgs/{org}/migrations', [
        'org' => 'generated',
        'exclude' => ,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->migrations()->listForOrg(        org: 'generated',
        exclude: ,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations).

### migrations/list-for-org

[](#migrationslist-for-org-1)

List organization migrations

Using the `call` method:

```
$client->call('LIST /orgs/{org}/migrations', [
        'org' => 'generated',
        'exclude' => ,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->migrations()->listForOrgListing(        org: 'generated',
        exclude: ,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations).

### migrations/start-for-org

[](#migrationsstart-for-org)

Start an organization migration

Using the `call` method:

```
$client->call('POST /orgs/{org}/migrations', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->migrations()->startForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration).

### migrations/get-status-for-org

[](#migrationsget-status-for-org)

Get an organization migration status

Using the `call` method:

```
$client->call('GET /orgs/{org}/migrations/{migration_id}', [
        'org' => 'generated',
        'migration_id' => 12,
        'exclude' => ,
]);
```

Operations method:

```
$client->operations()->migrations()->getStatusForOrg(        org: 'generated',
        migration_id: 12,
        exclude: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status).

### migrations/download-archive-for-org

[](#migrationsdownload-archive-for-org)

Download an organization migration archive

Using the `call` method:

```
$client->call('GET /orgs/{org}/migrations/{migration_id}/archive', [
        'org' => 'generated',
        'migration_id' => 12,
]);
```

Operations method:

```
$client->operations()->migrations()->downloadArchiveForOrg(        org: 'generated',
        migration_id: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive).

### migrations/download-archive-for-org

[](#migrationsdownload-archive-for-org-1)

Download an organization migration archive

Using the `call` method:

```
$client->call('STREAM /orgs/{org}/migrations/{migration_id}/archive', [
        'org' => 'generated',
        'migration_id' => 12,
]);
```

Operations method:

```
$client->operations()->migrations()->downloadArchiveForOrgStreaming(        org: 'generated',
        migration_id: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive).

### migrations/delete-archive-for-org

[](#migrationsdelete-archive-for-org)

Delete an organization migration archive

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/migrations/{migration_id}/archive', [
        'org' => 'generated',
        'migration_id' => 12,
]);
```

Operations method:

```
$client->operations()->migrations()->deleteArchiveForOrg(        org: 'generated',
        migration_id: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive).

### migrations/unlock-repo-for-org

[](#migrationsunlock-repo-for-org)

Unlock an organization repository

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock', [
        'org' => 'generated',
        'migration_id' => 12,
        'repo_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->migrations()->unlockRepoForOrg(        org: 'generated',
        migration_id: 12,
        repo_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository).

### migrations/list-repos-for-org

[](#migrationslist-repos-for-org)

List repositories in an organization migration

Using the `call` method:

```
$client->call('GET /orgs/{org}/migrations/{migration_id}/repositories', [
        'org' => 'generated',
        'migration_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->migrations()->listReposForOrg(        org: 'generated',
        migration_id: 12,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration).

### migrations/list-repos-for-org

[](#migrationslist-repos-for-org-1)

List repositories in an organization migration

Using the `call` method:

```
$client->call('LIST /orgs/{org}/migrations/{migration_id}/repositories', [
        'org' => 'generated',
        'migration_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->migrations()->listReposForOrgListing(        org: 'generated',
        migration_id: 12,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration).

### orgs/list-organization-fine-grained-permissions

[](#orgslist-organization-fine-grained-permissions)

List organization fine-grained permissions for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/organization-fine-grained-permissions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listOrganizationFineGrainedPermissions(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization).

### orgs/list-org-roles

[](#orgslist-org-roles)

Get all organization roles for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/organization-roles', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listOrgRoles(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization).

### orgs/create-custom-organization-role

[](#orgscreate-custom-organization-role)

Create a custom organization role

Using the `call` method:

```
$client->call('POST /orgs/{org}/organization-roles', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createCustomOrganizationRole(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role).

### orgs/revoke-all-org-roles-team

[](#orgsrevoke-all-org-roles-team)

Remove all organization roles for a team

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/organization-roles/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->revokeAllOrgRolesTeam(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team).

### orgs/assign-team-to-org-role

[](#orgsassign-team-to-org-role)

Assign an organization role to a team

Using the `call` method:

```
$client->call('PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->assignTeamToOrgRole(        org: 'generated',
        team_slug: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team).

### orgs/revoke-org-role-team

[](#orgsrevoke-org-role-team)

Remove an organization role from a team

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->revokeOrgRoleTeam(        org: 'generated',
        team_slug: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team).

### orgs/revoke-all-org-roles-user

[](#orgsrevoke-all-org-roles-user)

Remove all organization roles for a user

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/organization-roles/users/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->revokeAllOrgRolesUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user).

### orgs/assign-user-to-org-role

[](#orgsassign-user-to-org-role)

Assign an organization role to a user

Using the `call` method:

```
$client->call('PUT /orgs/{org}/organization-roles/users/{username}/{role_id}', [
        'org' => 'generated',
        'username' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->assignUserToOrgRole(        org: 'generated',
        username: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user).

### orgs/revoke-org-role-user

[](#orgsrevoke-org-role-user)

Remove an organization role from a user

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}', [
        'org' => 'generated',
        'username' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->revokeOrgRoleUser(        org: 'generated',
        username: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user).

### orgs/get-org-role

[](#orgsget-org-role)

Get an organization role

Using the `call` method:

```
$client->call('GET /orgs/{org}/organization-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->getOrgRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role).

### orgs/delete-custom-organization-role

[](#orgsdelete-custom-organization-role)

Delete a custom organization role.

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/organization-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->deleteCustomOrganizationRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role).

### orgs/patch-custom-organization-role

[](#orgspatch-custom-organization-role)

Update a custom organization role

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/organization-roles/{role_id}', [
        'org' => 'generated',
        'role_id' => 7,
]);
```

Operations method:

```
$client->operations()->orgs()->patchCustomOrganizationRole(        org: 'generated',
        role_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role).

### orgs/list-org-role-teams

[](#orgslist-org-role-teams)

List teams that are assigned to an organization role

Using the `call` method:

```
$client->call('GET /orgs/{org}/organization-roles/{role_id}/teams', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listOrgRoleTeams(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role).

### orgs/list-org-role-teams

[](#orgslist-org-role-teams-1)

List teams that are assigned to an organization role

Using the `call` method:

```
$client->call('LIST /orgs/{org}/organization-roles/{role_id}/teams', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listOrgRoleTeamsListing(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role).

### orgs/list-org-role-users

[](#orgslist-org-role-users)

List users that are assigned to an organization role

Using the `call` method:

```
$client->call('GET /orgs/{org}/organization-roles/{role_id}/users', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listOrgRoleUsers(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role).

### orgs/list-org-role-users

[](#orgslist-org-role-users-1)

List users that are assigned to an organization role

Using the `call` method:

```
$client->call('LIST /orgs/{org}/organization-roles/{role_id}/users', [
        'org' => 'generated',
        'role_id' => 7,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listOrgRoleUsersListing(        org: 'generated',
        role_id: 7,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role).

### orgs/list-outside-collaborators

[](#orgslist-outside-collaborators)

List outside collaborators for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/outside_collaborators', [
        'org' => 'generated',
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listOutsideCollaborators(        org: 'generated',
        filter: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization).

### orgs/list-outside-collaborators

[](#orgslist-outside-collaborators-1)

List outside collaborators for an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/outside_collaborators', [
        'org' => 'generated',
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listOutsideCollaboratorsListing(        org: 'generated',
        filter: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization).

### orgs/convert-member-to-outside-collaborator

[](#orgsconvert-member-to-outside-collaborator)

Convert an organization member to outside collaborator

Using the `call` method:

```
$client->call('PUT /orgs/{org}/outside_collaborators/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->convertMemberToOutsideCollaborator(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator).

### orgs/remove-outside-collaborator

[](#orgsremove-outside-collaborator)

Remove outside collaborator from an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/outside_collaborators/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->removeOutsideCollaborator(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization).

### packages/list-packages-for-organization

[](#packageslist-packages-for-organization)

List packages for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/packages', [
        'package_type' => 'generated',
        'org' => 'generated',
        'visibility' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->packages()->listPackagesForOrganization(        package_type: 'generated',
        org: 'generated',
        visibility: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-packages-for-an-organization).

### packages/list-packages-for-organization

[](#packageslist-packages-for-organization-1)

List packages for an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/packages', [
        'package_type' => 'generated',
        'org' => 'generated',
        'visibility' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->packages()->listPackagesForOrganizationListing(        package_type: 'generated',
        org: 'generated',
        visibility: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-packages-for-an-organization).

### packages/get-package-for-organization

[](#packagesget-package-for-organization)

Get a package for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->packages()->getPackageForOrganization(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization).

### packages/delete-package-for-org

[](#packagesdelete-package-for-org)

Delete a package for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/packages/{package_type}/{package_name}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->packages()->deletePackageForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization).

### packages/restore-package-for-org

[](#packagesrestore-package-for-org)

Restore a package for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/packages/{package_type}/{package_name}/restore', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'token' => 'generated',
]);
```

Operations method:

```
$client->operations()->packages()->restorePackageForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        token: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization).

### packages/get-all-package-versions-for-package-owned-by-org

[](#packagesget-all-package-versions-for-package-owned-by-org)

List package versions for a package owned by an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}/versions', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'state' => 'generated',
]);
```

Operations method:

```
$client->operations()->packages()->getAllPackageVersionsForPackageOwnedByOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        page: 1,
        per_page: 8,
        state: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization).

### packages/get-all-package-versions-for-package-owned-by-org

[](#packagesget-all-package-versions-for-package-owned-by-org-1)

List package versions for a package owned by an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/packages/{package_type}/{package_name}/versions', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'state' => 'generated',
]);
```

Operations method:

```
$client->operations()->packages()->getAllPackageVersionsForPackageOwnedByOrgListing(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        page: 1,
        per_page: 8,
        state: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization).

### packages/get-package-version-for-organization

[](#packagesget-package-version-for-organization)

Get a package version for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'package_version_id' => 18,
]);
```

Operations method:

```
$client->operations()->packages()->getPackageVersionForOrganization(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        package_version_id: 18,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization).

### packages/delete-package-version-for-org

[](#packagesdelete-package-version-for-org)

Delete package version for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'package_version_id' => 18,
]);
```

Operations method:

```
$client->operations()->packages()->deletePackageVersionForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        package_version_id: 18,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization).

### packages/restore-package-version-for-org

[](#packagesrestore-package-version-for-org)

Restore package version for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore', [
        'package_type' => 'generated',
        'package_name' => 'generated',
        'org' => 'generated',
        'package_version_id' => 18,
]);
```

Operations method:

```
$client->operations()->packages()->restorePackageVersionForOrg(        package_type: 'generated',
        package_name: 'generated',
        org: 'generated',
        package_version_id: 18,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization).

### orgs/list-pat-grant-requests

[](#orgslist-pat-grant-requests)

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

Using the `call` method:

```
$client->call('GET /orgs/{org}/personal-access-token-requests', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'token_id' => ,
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrantRequests(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        token_id: ,
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens).

### orgs/list-pat-grant-requests

[](#orgslist-pat-grant-requests-1)

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

Using the `call` method:

```
$client->call('LIST /orgs/{org}/personal-access-token-requests', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'token_id' => ,
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrantRequestsListing(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        token_id: ,
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens).

### orgs/review-pat-grant-requests-in-bulk

[](#orgsreview-pat-grant-requests-in-bulk)

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

Using the `call` method:

```
$client->call('POST /orgs/{org}/personal-access-token-requests', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->reviewPatGrantRequestsInBulk(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens).

### orgs/review-pat-grant-request

[](#orgsreview-pat-grant-request)

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

Using the `call` method:

```
$client->call('POST /orgs/{org}/personal-access-token-requests/{pat_request_id}', [
        'org' => 'generated',
        'pat_request_id' => 14,
]);
```

Operations method:

```
$client->operations()->orgs()->reviewPatGrantRequest(        org: 'generated',
        pat_request_id: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token).

### orgs/list-pat-grant-request-repositories

[](#orgslist-pat-grant-request-repositories)

List repositories requested to be accessed by a fine-grained personal access token

Using the `call` method:

```
$client->call('GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories', [
        'org' => 'generated',
        'pat_request_id' => 14,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrantRequestRepositories(        org: 'generated',
        pat_request_id: 14,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token).

### orgs/list-pat-grant-request-repositories

[](#orgslist-pat-grant-request-repositories-1)

List repositories requested to be accessed by a fine-grained personal access token

Using the `call` method:

```
$client->call('LIST /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories', [
        'org' => 'generated',
        'pat_request_id' => 14,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrantRequestRepositoriesListing(        org: 'generated',
        pat_request_id: 14,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token).

### orgs/list-pat-grants

[](#orgslist-pat-grants)

List fine-grained personal access tokens with access to organization resources

Using the `call` method:

```
$client->call('GET /orgs/{org}/personal-access-tokens', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'token_id' => ,
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrants(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        token_id: ,
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources).

### orgs/list-pat-grants

[](#orgslist-pat-grants-1)

List fine-grained personal access tokens with access to organization resources

Using the `call` method:

```
$client->call('LIST /orgs/{org}/personal-access-tokens', [
        'org' => 'generated',
        'owner' => ,
        'repository' => 'generated',
        'permission' => 'generated',
        'last_used_before' => '1970-01-01T00:00:00+00:00',
        'last_used_after' => '1970-01-01T00:00:00+00:00',
        'token_id' => ,
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrantsListing(        org: 'generated',
        owner: ,
        repository: 'generated',
        permission: 'generated',
        last_used_before: '1970-01-01T00:00:00+00:00',
        last_used_after: '1970-01-01T00:00:00+00:00',
        token_id: ,
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources).

### orgs/update-pat-accesses

[](#orgsupdate-pat-accesses)

Update the access to organization resources via fine-grained personal access tokens

Using the `call` method:

```
$client->call('POST /orgs/{org}/personal-access-tokens', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->updatePatAccesses(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens).

### orgs/update-pat-access

[](#orgsupdate-pat-access)

Update the access a fine-grained personal access token has to organization resources

Using the `call` method:

```
$client->call('POST /orgs/{org}/personal-access-tokens/{pat_id}', [
        'org' => 'generated',
        'pat_id' => 6,
]);
```

Operations method:

```
$client->operations()->orgs()->updatePatAccess(        org: 'generated',
        pat_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources).

### orgs/list-pat-grant-repositories

[](#orgslist-pat-grant-repositories)

List repositories a fine-grained personal access token has access to

Using the `call` method:

```
$client->call('GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories', [
        'org' => 'generated',
        'pat_id' => 6,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrantRepositories(        org: 'generated',
        pat_id: 6,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to).

### orgs/list-pat-grant-repositories

[](#orgslist-pat-grant-repositories-1)

List repositories a fine-grained personal access token has access to

Using the `call` method:

```
$client->call('LIST /orgs/{org}/personal-access-tokens/{pat_id}/repositories', [
        'org' => 'generated',
        'pat_id' => 6,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPatGrantRepositoriesListing(        org: 'generated',
        pat_id: 6,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to).

### private-registries/list-org-private-registries

[](#private-registrieslist-org-private-registries)

List private registries for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/private-registries', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->privateRegistries()->listOrgPrivateRegistries(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#list-private-registries-for-an-organization).

### private-registries/create-org-private-registry

[](#private-registriescreate-org-private-registry)

Create a private registry for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/private-registries', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->privateRegistries()->createOrgPrivateRegistry(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#create-a-private-registry-for-an-organization).

### private-registries/get-org-public-key

[](#private-registriesget-org-public-key)

Get private registries public key for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/private-registries/public-key', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->privateRegistries()->getOrgPublicKey(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-private-registries-public-key-for-an-organization).

### private-registries/get-org-private-registry

[](#private-registriesget-org-private-registry)

Get a private registry for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/private-registries/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->privateRegistries()->getOrgPrivateRegistry(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization).

### private-registries/delete-org-private-registry

[](#private-registriesdelete-org-private-registry)

Delete a private registry for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/private-registries/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->privateRegistries()->deleteOrgPrivateRegistry(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization).

### private-registries/update-org-private-registry

[](#private-registriesupdate-org-private-registry)

Update a private registry for an organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/private-registries/{secret_name}', [
        'org' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->privateRegistries()->updateOrgPrivateRegistry(        org: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization).

### projects/list-for-org

[](#projectslist-for-org)

List organization projects

Using the `call` method:

```
$client->call('GET /orgs/{org}/projects', [
        'org' => 'generated',
        'state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listForOrg(        org: 'generated',
        state: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects).

### projects/list-for-org

[](#projectslist-for-org-1)

List organization projects

Using the `call` method:

```
$client->call('LIST /orgs/{org}/projects', [
        'org' => 'generated',
        'state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listForOrgListing(        org: 'generated',
        state: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects).

### projects/create-for-org

[](#projectscreate-for-org)

Create an organization project

Using the `call` method:

```
$client->call('POST /orgs/{org}/projects', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->projects()->createForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project).

### orgs/get-all-custom-properties

[](#orgsget-all-custom-properties)

Get all custom properties for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/properties/schema', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->getAllCustomProperties(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization).

### orgs/create-or-update-custom-properties

[](#orgscreate-or-update-custom-properties)

Create or update custom properties for an organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/properties/schema', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createOrUpdateCustomProperties(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization).

### orgs/get-custom-property

[](#orgsget-custom-property)

Get a custom property for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/properties/schema/{custom_property_name}', [
        'org' => 'generated',
        'custom_property_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->getCustomProperty(        org: 'generated',
        custom_property_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization).

### orgs/create-or-update-custom-property

[](#orgscreate-or-update-custom-property)

Create or update a custom property for an organization

Using the `call` method:

```
$client->call('PUT /orgs/{org}/properties/schema/{custom_property_name}', [
        'org' => 'generated',
        'custom_property_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createOrUpdateCustomProperty(        org: 'generated',
        custom_property_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization).

### orgs/remove-custom-property

[](#orgsremove-custom-property)

Remove a custom property for an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/properties/schema/{custom_property_name}', [
        'org' => 'generated',
        'custom_property_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->removeCustomProperty(        org: 'generated',
        custom_property_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization).

### orgs/list-custom-properties-values-for-repos

[](#orgslist-custom-properties-values-for-repos)

List custom property values for organization repositories

Using the `call` method:

```
$client->call('GET /orgs/{org}/properties/values', [
        'org' => 'generated',
        'repository_query' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listCustomPropertiesValuesForRepos(        org: 'generated',
        repository_query: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories).

### orgs/list-custom-properties-values-for-repos

[](#orgslist-custom-properties-values-for-repos-1)

List custom property values for organization repositories

Using the `call` method:

```
$client->call('LIST /orgs/{org}/properties/values', [
        'org' => 'generated',
        'repository_query' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listCustomPropertiesValuesForReposListing(        org: 'generated',
        repository_query: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories).

### orgs/create-or-update-custom-properties-values-for-repos

[](#orgscreate-or-update-custom-properties-values-for-repos)

Create or update custom property values for organization repositories

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/properties/values', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->createOrUpdateCustomPropertiesValuesForRepos(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories).

### orgs/list-public-members

[](#orgslist-public-members)

List public organization members

Using the `call` method:

```
$client->call('GET /orgs/{org}/public_members', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPublicMembers(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members).

### orgs/list-public-members

[](#orgslist-public-members-1)

List public organization members

Using the `call` method:

```
$client->call('LIST /orgs/{org}/public_members', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->listPublicMembersListing(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members).

### orgs/check-public-membership-for-user

[](#orgscheck-public-membership-for-user)

Check public organization membership for a user

Using the `call` method:

```
$client->call('GET /orgs/{org}/public_members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->checkPublicMembershipForUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user).

### orgs/set-public-membership-for-authenticated-user

[](#orgsset-public-membership-for-authenticated-user)

Set public organization membership for the authenticated user

Using the `call` method:

```
$client->call('PUT /orgs/{org}/public_members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->setPublicMembershipForAuthenticatedUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user).

### orgs/remove-public-membership-for-authenticated-user

[](#orgsremove-public-membership-for-authenticated-user)

Remove public organization membership for the authenticated user

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/public_members/{username}', [
        'org' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->removePublicMembershipForAuthenticatedUser(        org: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user).

### repos/list-for-org

[](#reposlist-for-org)

List organization repositories

Using the `call` method:

```
$client->call('GET /orgs/{org}/repos', [
        'org' => 'generated',
        'type' => 'generated',
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->listForOrg(        org: 'generated',
        type: 'generated',
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories).

### repos/list-for-org

[](#reposlist-for-org-1)

List organization repositories

Using the `call` method:

```
$client->call('LIST /orgs/{org}/repos', [
        'org' => 'generated',
        'type' => 'generated',
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->listForOrgListing(        org: 'generated',
        type: 'generated',
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories).

### repos/create-in-org

[](#reposcreate-in-org)

Create an organization repository

Using the `call` method:

```
$client->call('POST /orgs/{org}/repos', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->createInOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository).

### orgs/list-repo-fine-grained-permissions

[](#orgslist-repo-fine-grained-permissions)

List repository fine-grained permissions for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/repository-fine-grained-permissions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listRepoFineGrainedPermissions(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization).

### repos/get-org-rulesets

[](#reposget-org-rulesets)

Get all organization repository rulesets

Using the `call` method:

```
$client->call('GET /orgs/{org}/rulesets', [
        'org' => 'generated',
        'targets' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->getOrgRulesets(        org: 'generated',
        targets: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-all-organization-repository-rulesets).

### repos/get-org-rulesets

[](#reposget-org-rulesets-1)

Get all organization repository rulesets

Using the `call` method:

```
$client->call('LIST /orgs/{org}/rulesets', [
        'org' => 'generated',
        'targets' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->getOrgRulesetsListing(        org: 'generated',
        targets: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-all-organization-repository-rulesets).

### repos/create-org-ruleset

[](#reposcreate-org-ruleset)

Create an organization repository ruleset

Using the `call` method:

```
$client->call('POST /orgs/{org}/rulesets', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->createOrgRuleset(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#create-an-organization-repository-ruleset).

### repos/get-org-rule-suites

[](#reposget-org-rule-suites)

List organization rule suites

Using the `call` method:

```
$client->call('GET /orgs/{org}/rulesets/rule-suites', [
        'org' => 'generated',
        'ref' => 'generated',
        'repository_name' => 'generated',
        'actor_name' => 'generated',
        'time_period' => 'generated',
        'rule_suite_result' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->getOrgRuleSuites(        org: 'generated',
        ref: 'generated',
        repository_name: 'generated',
        actor_name: 'generated',
        time_period: 'generated',
        rule_suite_result: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites).

### repos/get-org-rule-suites

[](#reposget-org-rule-suites-1)

List organization rule suites

Using the `call` method:

```
$client->call('LIST /orgs/{org}/rulesets/rule-suites', [
        'org' => 'generated',
        'ref' => 'generated',
        'repository_name' => 'generated',
        'actor_name' => 'generated',
        'time_period' => 'generated',
        'rule_suite_result' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->getOrgRuleSuitesListing(        org: 'generated',
        ref: 'generated',
        repository_name: 'generated',
        actor_name: 'generated',
        time_period: 'generated',
        rule_suite_result: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites).

### repos/get-org-rule-suite

[](#reposget-org-rule-suite)

Get an organization rule suite

Using the `call` method:

```
$client->call('GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}', [
        'org' => 'generated',
        'rule_suite_id' => 13,
]);
```

Operations method:

```
$client->operations()->repos()->getOrgRuleSuite(        org: 'generated',
        rule_suite_id: 13,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite).

### repos/get-org-ruleset

[](#reposget-org-ruleset)

Get an organization repository ruleset

Using the `call` method:

```
$client->call('GET /orgs/{org}/rulesets/{ruleset_id}', [
        'org' => 'generated',
        'ruleset_id' => 10,
]);
```

Operations method:

```
$client->operations()->repos()->getOrgRuleset(        org: 'generated',
        ruleset_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-an-organization-repository-ruleset).

### repos/update-org-ruleset

[](#reposupdate-org-ruleset)

Update an organization repository ruleset

Using the `call` method:

```
$client->call('PUT /orgs/{org}/rulesets/{ruleset_id}', [
        'org' => 'generated',
        'ruleset_id' => 10,
]);
```

Operations method:

```
$client->operations()->repos()->updateOrgRuleset(        org: 'generated',
        ruleset_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#update-an-organization-repository-ruleset).

### repos/delete-org-ruleset

[](#reposdelete-org-ruleset)

Delete an organization repository ruleset

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/rulesets/{ruleset_id}', [
        'org' => 'generated',
        'ruleset_id' => 10,
]);
```

Operations method:

```
$client->operations()->repos()->deleteOrgRuleset(        org: 'generated',
        ruleset_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#delete-an-organization-repository-ruleset).

### orgs/get-org-ruleset-history

[](#orgsget-org-ruleset-history)

Get organization ruleset history

Using the `call` method:

```
$client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history', [
        'org' => 'generated',
        'ruleset_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->getOrgRulesetHistory(        org: 'generated',
        ruleset_id: 10,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history).

### orgs/get-org-ruleset-history

[](#orgsget-org-ruleset-history-1)

Get organization ruleset history

Using the `call` method:

```
$client->call('LIST /orgs/{org}/rulesets/{ruleset_id}/history', [
        'org' => 'generated',
        'ruleset_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->orgs()->getOrgRulesetHistoryListing(        org: 'generated',
        ruleset_id: 10,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-history).

### orgs/get-org-ruleset-version

[](#orgsget-org-ruleset-version)

Get organization ruleset version

Using the `call` method:

```
$client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}', [
        'org' => 'generated',
        'ruleset_id' => 10,
        'version_id' => 10,
]);
```

Operations method:

```
$client->operations()->orgs()->getOrgRulesetVersion(        org: 'generated',
        ruleset_id: 10,
        version_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/rules#get-organization-ruleset-version).

### secret-scanning/list-alerts-for-org

[](#secret-scanninglist-alerts-for-org)

List secret scanning alerts for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/secret-scanning/alerts', [
        'org' => 'generated',
        'state' => 'generated',
        'secret_type' => 'generated',
        'resolution' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'validity' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'is_publicly_leaked' => ,
        'is_multi_repo' => ,
]);
```

Operations method:

```
$client->operations()->secretScanning()->listAlertsForOrg(        org: 'generated',
        state: 'generated',
        secret_type: 'generated',
        resolution: 'generated',
        before: 'generated',
        after: 'generated',
        validity: 'generated',
        sort: 'generated',
        direction: 'generated',
        page: 1,
        per_page: 8,
        is_publicly_leaked: ,
        is_multi_repo: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization).

### secret-scanning/list-alerts-for-org

[](#secret-scanninglist-alerts-for-org-1)

List secret scanning alerts for an organization

Using the `call` method:

```
$client->call('LIST /orgs/{org}/secret-scanning/alerts', [
        'org' => 'generated',
        'state' => 'generated',
        'secret_type' => 'generated',
        'resolution' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'validity' => 'generated',
        'sort' => 'generated',
        'direction' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'is_publicly_leaked' => ,
        'is_multi_repo' => ,
]);
```

Operations method:

```
$client->operations()->secretScanning()->listAlertsForOrgListing(        org: 'generated',
        state: 'generated',
        secret_type: 'generated',
        resolution: 'generated',
        before: 'generated',
        after: 'generated',
        validity: 'generated',
        sort: 'generated',
        direction: 'generated',
        page: 1,
        per_page: 8,
        is_publicly_leaked: ,
        is_multi_repo: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization).

### security-advisories/list-org-repository-advisories

[](#security-advisorieslist-org-repository-advisories)

List repository security advisories for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/security-advisories', [
        'org' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'direction' => 'generated',
        'sort' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->securityAdvisories()->listOrgRepositoryAdvisories(        org: 'generated',
        before: 'generated',
        after: 'generated',
        state: 'generated',
        direction: 'generated',
        sort: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization).

### orgs/list-security-manager-teams

[](#orgslist-security-manager-teams)

List security manager teams

Using the `call` method:

```
$client->call('GET /orgs/{org}/security-managers', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->listSecurityManagerTeams(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams).

### orgs/add-security-manager-team

[](#orgsadd-security-manager-team)

Add a security manager team

Using the `call` method:

```
$client->call('PUT /orgs/{org}/security-managers/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->addSecurityManagerTeam(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team).

### orgs/remove-security-manager-team

[](#orgsremove-security-manager-team)

Remove a security manager team

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/security-managers/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->removeSecurityManagerTeam(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team).

### billing/get-github-actions-billing-org

[](#billingget-github-actions-billing-org)

Get GitHub Actions billing for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/settings/billing/actions', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getGithubActionsBillingOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization).

### billing/get-github-advanced-security-billing-org

[](#billingget-github-advanced-security-billing-org)

Get GitHub Advanced Security active committers for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/settings/billing/advanced-security', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->billing()->getGithubAdvancedSecurityBillingOrg(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization).

### billing/get-github-packages-billing-org

[](#billingget-github-packages-billing-org)

Get GitHub Packages billing for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/settings/billing/packages', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getGithubPackagesBillingOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization).

### billing/get-shared-storage-billing-org

[](#billingget-shared-storage-billing-org)

Get shared storage billing for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/settings/billing/shared-storage', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->billing()->getSharedStorageBillingOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization).

### hosted-compute/list-network-configurations-for-org

[](#hosted-computelist-network-configurations-for-org)

List hosted compute network configurations for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/settings/network-configurations', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->hostedCompute()->listNetworkConfigurationsForOrg(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#list-hosted-compute-network-configurations-for-an-organization).

### hosted-compute/create-network-configuration-for-org

[](#hosted-computecreate-network-configuration-for-org)

Create a hosted compute network configuration for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/settings/network-configurations', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->createNetworkConfigurationForOrg(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#create-a-hosted-compute-network-configuration-for-an-organization).

### hosted-compute/get-network-configuration-for-org

[](#hosted-computeget-network-configuration-for-org)

Get a hosted compute network configuration for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/settings/network-configurations/{network_configuration_id}', [
        'org' => 'generated',
        'network_configuration_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->getNetworkConfigurationForOrg(        org: 'generated',
        network_configuration_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization).

### hosted-compute/delete-network-configuration-from-org

[](#hosted-computedelete-network-configuration-from-org)

Delete a hosted compute network configuration from an organization

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}', [
        'org' => 'generated',
        'network_configuration_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->deleteNetworkConfigurationFromOrg(        org: 'generated',
        network_configuration_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization).

### hosted-compute/update-network-configuration-for-org

[](#hosted-computeupdate-network-configuration-for-org)

Update a hosted compute network configuration for an organization

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}', [
        'org' => 'generated',
        'network_configuration_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->updateNetworkConfigurationForOrg(        org: 'generated',
        network_configuration_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization).

### hosted-compute/get-network-settings-for-org

[](#hosted-computeget-network-settings-for-org)

Get a hosted compute network settings resource for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/settings/network-settings/{network_settings_id}', [
        'org' => 'generated',
        'network_settings_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->hostedCompute()->getNetworkSettingsForOrg(        org: 'generated',
        network_settings_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization).

### teams/list-idp-groups-for-org

[](#teamslist-idp-groups-for-org)

List IdP groups for an organization

Using the `call` method:

```
$client->call('GET /orgs/{org}/team-sync/groups', [
        'org' => 'generated',
        'page' => 'generated',
        'q' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->teams()->listIdpGroupsForOrg(        org: 'generated',
        page: 'generated',
        q: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization).

### copilot/copilot-metrics-for-team

[](#copilotcopilot-metrics-for-team)

Get Copilot metrics for a team

Using the `call` method:

```
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/metrics', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForTeam(        org: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team).

### copilot/copilot-metrics-for-team

[](#copilotcopilot-metrics-for-team-1)

Get Copilot metrics for a team

Using the `call` method:

```
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/metrics', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'since' => 'generated',
        'until' => 'generated',
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->copilot()->copilotMetricsForTeamListing(        org: 'generated',
        team_slug: 'generated',
        since: 'generated',
        until: 'generated',
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team).

### teams/list

[](#teamslist)

List teams

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->list(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams).

### teams/list

[](#teamslist-1)

List teams

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams', [
        'org' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listListing(        org: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams).

### teams/create

[](#teamscreate)

Create a team

Using the `call` method:

```
$client->call('POST /orgs/{org}/teams', [
        'org' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->create(        org: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team).

### teams/get-by-name

[](#teamsget-by-name)

Get a team by name

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->getByName(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name).

### teams/delete-in-org

[](#teamsdelete-in-org)

Delete a team

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->deleteInOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team).

### teams/update-in-org

[](#teamsupdate-in-org)

Update a team

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/teams/{team_slug}', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->updateInOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team).

### teams/list-discussions-in-org

[](#teamslist-discussions-in-org)

List discussions

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'pinned' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listDiscussionsInOrg(        org: 'generated',
        team_slug: 'generated',
        pinned: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions).

### teams/list-discussions-in-org

[](#teamslist-discussions-in-org-1)

List discussions

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'pinned' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listDiscussionsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        pinned: 'generated',
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions).

### teams/create-discussion-in-org

[](#teamscreate-discussion-in-org)

Create a discussion

Using the `call` method:

```
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->createDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion).

### teams/get-discussion-in-org

[](#teamsget-discussion-in-org)

Get a discussion

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);
```

Operations method:

```
$client->operations()->teams()->getDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion).

### teams/delete-discussion-in-org

[](#teamsdelete-discussion-in-org)

Delete a discussion

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);
```

Operations method:

```
$client->operations()->teams()->deleteDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion).

### teams/update-discussion-in-org

[](#teamsupdate-discussion-in-org)

Update a discussion

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);
```

Operations method:

```
$client->operations()->teams()->updateDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion).

### teams/list-discussion-comments-in-org

[](#teamslist-discussion-comments-in-org)

List discussion comments

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listDiscussionCommentsInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments).

### teams/list-discussion-comments-in-org

[](#teamslist-discussion-comments-in-org-1)

List discussion comments

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'direction' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listDiscussionCommentsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        direction: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments).

### teams/create-discussion-comment-in-org

[](#teamscreate-discussion-comment-in-org)

Create a discussion comment

Using the `call` method:

```
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);
```

Operations method:

```
$client->operations()->teams()->createDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment).

### teams/get-discussion-comment-in-org

[](#teamsget-discussion-comment-in-org)

Get a discussion comment

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);
```

Operations method:

```
$client->operations()->teams()->getDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment).

### teams/delete-discussion-comment-in-org

[](#teamsdelete-discussion-comment-in-org)

Delete a discussion comment

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);
```

Operations method:

```
$client->operations()->teams()->deleteDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment).

### teams/update-discussion-comment-in-org

[](#teamsupdate-discussion-comment-in-org)

Update a discussion comment

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);
```

Operations method:

```
$client->operations()->teams()->updateDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment).

### reactions/list-for-team-discussion-comment-in-org

[](#reactionslist-for-team-discussion-comment-in-org)

List reactions for a team discussion comment

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->reactions()->listForTeamDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
        content: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment).

### reactions/list-for-team-discussion-comment-in-org

[](#reactionslist-for-team-discussion-comment-in-org-1)

List reactions for a team discussion comment

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->reactions()->listForTeamDiscussionCommentInOrgListing(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
        content: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment).

### reactions/create-for-team-discussion-comment-in-org

[](#reactionscreate-for-team-discussion-comment-in-org)

Create reaction for a team discussion comment

Using the `call` method:

```
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
]);
```

Operations method:

```
$client->operations()->reactions()->createForTeamDiscussionCommentInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment).

### reactions/delete-for-team-discussion-comment

[](#reactionsdelete-for-team-discussion-comment)

Delete team discussion comment reaction

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'comment_number' => 14,
        'reaction_id' => 11,
]);
```

Operations method:

```
$client->operations()->reactions()->deleteForTeamDiscussionComment(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        comment_number: 14,
        reaction_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction).

### reactions/list-for-team-discussion-in-org

[](#reactionslist-for-team-discussion-in-org)

List reactions for a team discussion

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->reactions()->listForTeamDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        content: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion).

### reactions/list-for-team-discussion-in-org

[](#reactionslist-for-team-discussion-in-org-1)

List reactions for a team discussion

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'content' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->reactions()->listForTeamDiscussionInOrgListing(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        content: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion).

### reactions/create-for-team-discussion-in-org

[](#reactionscreate-for-team-discussion-in-org)

Create reaction for a team discussion

Using the `call` method:

```
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
]);
```

Operations method:

```
$client->operations()->reactions()->createForTeamDiscussionInOrg(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion).

### reactions/delete-for-team-discussion

[](#reactionsdelete-for-team-discussion)

Delete team discussion reaction

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'discussion_number' => 17,
        'reaction_id' => 11,
]);
```

Operations method:

```
$client->operations()->reactions()->deleteForTeamDiscussion(        org: 'generated',
        team_slug: 'generated',
        discussion_number: 17,
        reaction_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction).

### teams/list-linked-external-idp-groups-to-team-for-org

[](#teamslist-linked-external-idp-groups-to-team-for-org)

List a connection between an external group and a team

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/external-groups', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->listLinkedExternalIdpGroupsToTeamForOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team).

### teams/unlink-external-idp-group-from-team-for-org

[](#teamsunlink-external-idp-group-from-team-for-org)

Remove the connection between an external group and a team

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/external-groups', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->unlinkExternalIdpGroupFromTeamForOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team).

### teams/link-external-idp-group-to-team-for-org

[](#teamslink-external-idp-group-to-team-for-org)

Update the connection between an external group and a team

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/teams/{team_slug}/external-groups', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->linkExternalIdpGroupToTeamForOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team).

### teams/list-pending-invitations-in-org

[](#teamslist-pending-invitations-in-org)

List pending team invitations

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/invitations', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listPendingInvitationsInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations).

### teams/list-pending-invitations-in-org

[](#teamslist-pending-invitations-in-org-1)

List pending team invitations

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/invitations', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listPendingInvitationsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations).

### teams/list-members-in-org

[](#teamslist-members-in-org)

List team members

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/members', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listMembersInOrg(        org: 'generated',
        team_slug: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members).

### teams/list-members-in-org

[](#teamslist-members-in-org-1)

List team members

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/members', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'role' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listMembersInOrgListing(        org: 'generated',
        team_slug: 'generated',
        role: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members).

### teams/get-membership-for-user-in-org

[](#teamsget-membership-for-user-in-org)

Get team membership for a user

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/memberships/{username}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->getMembershipForUserInOrg(        org: 'generated',
        team_slug: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user).

### teams/add-or-update-membership-for-user-in-org

[](#teamsadd-or-update-membership-for-user-in-org)

Add or update team membership for a user

Using the `call` method:

```
$client->call('PUT /orgs/{org}/teams/{team_slug}/memberships/{username}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->addOrUpdateMembershipForUserInOrg(        org: 'generated',
        team_slug: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user).

### teams/remove-membership-for-user-in-org

[](#teamsremove-membership-for-user-in-org)

Remove team membership for a user

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->removeMembershipForUserInOrg(        org: 'generated',
        team_slug: 'generated',
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user).

### teams/list-projects-in-org

[](#teamslist-projects-in-org)

List team projects

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/projects', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listProjectsInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects).

### teams/list-projects-in-org

[](#teamslist-projects-in-org-1)

List team projects

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/projects', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listProjectsInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects).

### teams/check-permissions-for-project-in-org

[](#teamscheck-permissions-for-project-in-org)

Check team permissions for a project

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'project_id' => 10,
]);
```

Operations method:

```
$client->operations()->teams()->checkPermissionsForProjectInOrg(        org: 'generated',
        team_slug: 'generated',
        project_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project).

### teams/add-or-update-project-permissions-in-org

[](#teamsadd-or-update-project-permissions-in-org)

Add or update team project permissions

Using the `call` method:

```
$client->call('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'project_id' => 10,
]);
```

Operations method:

```
$client->operations()->teams()->addOrUpdateProjectPermissionsInOrg(        org: 'generated',
        team_slug: 'generated',
        project_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions).

### teams/remove-project-in-org

[](#teamsremove-project-in-org)

Remove a project from a team

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'project_id' => 10,
]);
```

Operations method:

```
$client->operations()->teams()->removeProjectInOrg(        org: 'generated',
        team_slug: 'generated',
        project_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team).

### teams/list-repos-in-org

[](#teamslist-repos-in-org)

List team repositories

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/repos', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listReposInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories).

### teams/list-repos-in-org

[](#teamslist-repos-in-org-1)

List team repositories

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/repos', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listReposInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories).

### teams/check-permissions-for-repo-in-org

[](#teamscheck-permissions-for-repo-in-org)

Check team permissions for a repository

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->checkPermissionsForRepoInOrg(        org: 'generated',
        team_slug: 'generated',
        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository).

### teams/add-or-update-repo-permissions-in-org

[](#teamsadd-or-update-repo-permissions-in-org)

Add or update team repository permissions

Using the `call` method:

```
$client->call('PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->addOrUpdateRepoPermissionsInOrg(        org: 'generated',
        team_slug: 'generated',
        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions).

### teams/remove-repo-in-org

[](#teamsremove-repo-in-org)

Remove a repository from a team

Using the `call` method:

```
$client->call('DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->removeRepoInOrg(        org: 'generated',
        team_slug: 'generated',
        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team).

### teams/list-idp-groups-in-org

[](#teamslist-idp-groups-in-org)

List IdP groups for a team

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/team-sync/group-mappings', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->listIdpGroupsInOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team).

### teams/create-or-update-idp-group-connections-in-org

[](#teamscreate-or-update-idp-group-connections-in-org)

Create or update IdP group connections

Using the `call` method:

```
$client->call('PATCH /orgs/{org}/teams/{team_slug}/team-sync/group-mappings', [
        'org' => 'generated',
        'team_slug' => 'generated',
]);
```

Operations method:

```
$client->operations()->teams()->createOrUpdateIdpGroupConnectionsInOrg(        org: 'generated',
        team_slug: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections).

### teams/list-child-in-org

[](#teamslist-child-in-org)

List child teams

Using the `call` method:

```
$client->call('GET /orgs/{org}/teams/{team_slug}/teams', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listChildInOrg(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams).

### teams/list-child-in-org

[](#teamslist-child-in-org-1)

List child teams

Using the `call` method:

```
$client->call('LIST /orgs/{org}/teams/{team_slug}/teams', [
        'org' => 'generated',
        'team_slug' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->teams()->listChildInOrgListing(        org: 'generated',
        team_slug: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams).

### orgs/enable-or-disable-security-product-on-all-org-repos

[](#orgsenable-or-disable-security-product-on-all-org-repos)

Enable or disable a security feature for an organization

Using the `call` method:

```
$client->call('POST /orgs/{org}/{security_product}/{enablement}', [
        'org' => 'generated',
        'security_product' => 'generated',
        'enablement' => 'generated',
]);
```

Operations method:

```
$client->operations()->orgs()->enableOrDisableSecurityProductOnAllOrgRepos(        org: 'generated',
        security_product: 'generated',
        enablement: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization).

### projects/get-card

[](#projectsget-card)

Get a project card

Using the `call` method:

```
$client->call('GET /projects/columns/cards/{card_id}', [
        'card_id' => 7,
]);
```

Operations method:

```
$client->operations()->projects()->getCard(        card_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card).

### projects/delete-card

[](#projectsdelete-card)

Delete a project card

Using the `call` method:

```
$client->call('DELETE /projects/columns/cards/{card_id}', [
        'card_id' => 7,
]);
```

Operations method:

```
$client->operations()->projects()->deleteCard(        card_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card).

### projects/update-card

[](#projectsupdate-card)

Update an existing project card

Using the `call` method:

```
$client->call('PATCH /projects/columns/cards/{card_id}', [
        'card_id' => 7,
]);
```

Operations method:

```
$client->operations()->projects()->updateCard(        card_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card).

### projects/move-card

[](#projectsmove-card)

Move a project card

Using the `call` method:

```
$client->call('POST /projects/columns/cards/{card_id}/moves', [
        'card_id' => 7,
]);
```

Operations method:

```
$client->operations()->projects()->moveCard(        card_id: 7,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card).

### projects/get-column

[](#projectsget-column)

Get a project column

Using the `call` method:

```
$client->call('GET /projects/columns/{column_id}', [
        'column_id' => 9,
]);
```

Operations method:

```
$client->operations()->projects()->getColumn(        column_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column).

### projects/delete-column

[](#projectsdelete-column)

Delete a project column

Using the `call` method:

```
$client->call('DELETE /projects/columns/{column_id}', [
        'column_id' => 9,
]);
```

Operations method:

```
$client->operations()->projects()->deleteColumn(        column_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column).

### projects/update-column

[](#projectsupdate-column)

Update an existing project column

Using the `call` method:

```
$client->call('PATCH /projects/columns/{column_id}', [
        'column_id' => 9,
]);
```

Operations method:

```
$client->operations()->projects()->updateColumn(        column_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column).

### projects/list-cards

[](#projectslist-cards)

List project cards

Using the `call` method:

```
$client->call('GET /projects/columns/{column_id}/cards', [
        'column_id' => 9,
        'archived_state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listCards(        column_id: 9,
        archived_state: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards).

### projects/list-cards

[](#projectslist-cards-1)

List project cards

Using the `call` method:

```
$client->call('LIST /projects/columns/{column_id}/cards', [
        'column_id' => 9,
        'archived_state' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listCardsListing(        column_id: 9,
        archived_state: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards).

### projects/create-card

[](#projectscreate-card)

Create a project card

Using the `call` method:

```
$client->call('POST /projects/columns/{column_id}/cards', [
        'column_id' => 9,
]);
```

Operations method:

```
$client->operations()->projects()->createCard(        column_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card).

### projects/move-column

[](#projectsmove-column)

Move a project column

Using the `call` method:

```
$client->call('POST /projects/columns/{column_id}/moves', [
        'column_id' => 9,
]);
```

Operations method:

```
$client->operations()->projects()->moveColumn(        column_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column).

### projects/get

[](#projectsget)

Get a project

Using the `call` method:

```
$client->call('GET /projects/{project_id}', [
        'project_id' => 10,
]);
```

Operations method:

```
$client->operations()->projects()->get(        project_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project).

### projects/delete

[](#projectsdelete)

Delete a project

Using the `call` method:

```
$client->call('DELETE /projects/{project_id}', [
        'project_id' => 10,
]);
```

Operations method:

```
$client->operations()->projects()->delete(        project_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project).

### projects/update

[](#projectsupdate)

Update a project

Using the `call` method:

```
$client->call('PATCH /projects/{project_id}', [
        'project_id' => 10,
]);
```

Operations method:

```
$client->operations()->projects()->update(        project_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project).

### projects/list-collaborators

[](#projectslist-collaborators)

List project collaborators

Using the `call` method:

```
$client->call('GET /projects/{project_id}/collaborators', [
        'project_id' => 10,
        'affiliation' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listCollaborators(        project_id: 10,
        affiliation: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators).

### projects/list-collaborators

[](#projectslist-collaborators-1)

List project collaborators

Using the `call` method:

```
$client->call('LIST /projects/{project_id}/collaborators', [
        'project_id' => 10,
        'affiliation' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listCollaboratorsListing(        project_id: 10,
        affiliation: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators).

### projects/add-collaborator

[](#projectsadd-collaborator)

Add project collaborator

Using the `call` method:

```
$client->call('PUT /projects/{project_id}/collaborators/{username}', [
        'project_id' => 10,
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->projects()->addCollaborator(        project_id: 10,
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator).

### projects/remove-collaborator

[](#projectsremove-collaborator)

Remove user as a collaborator

Using the `call` method:

```
$client->call('DELETE /projects/{project_id}/collaborators/{username}', [
        'project_id' => 10,
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->projects()->removeCollaborator(        project_id: 10,
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator).

### projects/get-permission-for-user

[](#projectsget-permission-for-user)

Get project permission for a user

Using the `call` method:

```
$client->call('GET /projects/{project_id}/collaborators/{username}/permission', [
        'project_id' => 10,
        'username' => 'generated',
]);
```

Operations method:

```
$client->operations()->projects()->getPermissionForUser(        project_id: 10,
        username: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user).

### projects/list-columns

[](#projectslist-columns)

List project columns

Using the `call` method:

```
$client->call('GET /projects/{project_id}/columns', [
        'project_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listColumns(        project_id: 10,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns).

### projects/list-columns

[](#projectslist-columns-1)

List project columns

Using the `call` method:

```
$client->call('LIST /projects/{project_id}/columns', [
        'project_id' => 10,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->projects()->listColumnsListing(        project_id: 10,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns).

### projects/create-column

[](#projectscreate-column)

Create a project column

Using the `call` method:

```
$client->call('POST /projects/{project_id}/columns', [
        'project_id' => 10,
]);
```

Operations method:

```
$client->operations()->projects()->createColumn(        project_id: 10,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column).

### rate-limit/get

[](#rate-limitget)

Get rate limit status for the authenticated user

Using the `call` method:

```
$client->call('GET /rate_limit');
```

Operations method:

```
$client->operations()->rateLimit()->get();
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/rate-limit/rate-limit#get-rate-limit-status-for-the-authenticated-user).

### repos/get

[](#reposget)

Get a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->get(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository).

### repos/delete

[](#reposdelete)

Delete a repository

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->delete(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository).

### repos/update

[](#reposupdate)

Update a repository

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->update(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository).

### actions/list-artifacts-for-repo

[](#actionslist-artifacts-for-repo)

List artifacts for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/artifacts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listArtifactsForRepo(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository).

### actions/get-artifact

[](#actionsget-artifact)

Get an artifact

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
]);
```

Operations method:

```
$client->operations()->actions()->getArtifact(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact).

### actions/delete-artifact

[](#actionsdelete-artifact)

Delete an artifact

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
]);
```

Operations method:

```
$client->operations()->actions()->deleteArtifact(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact).

### actions/download-artifact

[](#actionsdownload-artifact)

Download an artifact

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
        'archive_format' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->downloadArtifact(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
        archive_format: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact).

### actions/download-artifact

[](#actionsdownload-artifact-1)

Download an artifact

Using the `call` method:

```
$client->call('STREAM /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'artifact_id' => 11,
        'archive_format' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->downloadArtifactStreaming(        owner: 'generated',
        repo: 'generated',
        artifact_id: 11,
        archive_format: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact).

### actions/get-actions-cache-usage

[](#actionsget-actions-cache-usage)

Get GitHub Actions cache usage for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/cache/usage', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getActionsCacheUsage(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository).

### actions/get-actions-cache-list

[](#actionsget-actions-cache-list)

List GitHub Actions caches for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/caches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'key' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'sort' => 'generated',
        'direction' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getActionsCacheList(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        key: 'generated',
        per_page: 8,
        page: 1,
        sort: 'generated',
        direction: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository).

### actions/delete-actions-cache-by-key

[](#actionsdelete-actions-cache-by-key)

Delete GitHub Actions caches for a repository (using a cache key)

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/caches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'key' => 'generated',
        'ref' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->deleteActionsCacheByKey(        owner: 'generated',
        repo: 'generated',
        key: 'generated',
        ref: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key).

### actions/delete-actions-cache-by-id

[](#actionsdelete-actions-cache-by-id)

Delete a GitHub Actions cache for a repository (using a cache ID)

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'cache_id' => 8,
]);
```

Operations method:

```
$client->operations()->actions()->deleteActionsCacheById(        owner: 'generated',
        repo: 'generated',
        cache_id: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id).

### actions/get-job-for-workflow-run

[](#actionsget-job-for-workflow-run)

Get a job for a workflow run

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/jobs/{job_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->getJobForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run).

### actions/download-job-logs-for-workflow-run

[](#actionsdownload-job-logs-for-workflow-run)

Download job logs for a workflow run

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->downloadJobLogsForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run).

### actions/download-job-logs-for-workflow-run

[](#actionsdownload-job-logs-for-workflow-run-1)

Download job logs for a workflow run

Using the `call` method:

```
$client->call('STREAM /repos/{owner}/{repo}/actions/jobs/{job_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->downloadJobLogsForWorkflowRunStreaming(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run).

### actions/re-run-job-for-workflow-run

[](#actionsre-run-job-for-workflow-run)

Re-run a job from a workflow run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun', [
        'owner' => 'generated',
        'repo' => 'generated',
        'job_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->reRunJobForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        job_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run).

### actions/get-custom-oidc-sub-claim-for-repo

[](#actionsget-custom-oidc-sub-claim-for-repo)

Get the customization template for an OIDC subject claim for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/oidc/customization/sub', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getCustomOidcSubClaimForRepo(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository).

### actions/set-custom-oidc-sub-claim-for-repo

[](#actionsset-custom-oidc-sub-claim-for-repo)

Set the customization template for an OIDC subject claim for a repository

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/oidc/customization/sub', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setCustomOidcSubClaimForRepo(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository).

### actions/list-repo-organization-secrets

[](#actionslist-repo-organization-secrets)

List repository organization secrets

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/organization-secrets', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listRepoOrganizationSecrets(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets).

### actions/list-repo-organization-variables

[](#actionslist-repo-organization-variables)

List repository organization variables

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/organization-variables', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listRepoOrganizationVariables(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables).

### actions/get-github-actions-permissions-repository

[](#actionsget-github-actions-permissions-repository)

Get GitHub Actions permissions for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/permissions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getGithubActionsPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository).

### actions/set-github-actions-permissions-repository

[](#actionsset-github-actions-permissions-repository)

Set GitHub Actions permissions for a repository

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/permissions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setGithubActionsPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository).

### actions/get-workflow-access-to-repository

[](#actionsget-workflow-access-to-repository)

Get the level of access for workflows outside of the repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/permissions/access', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getWorkflowAccessToRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository).

### actions/set-workflow-access-to-repository

[](#actionsset-workflow-access-to-repository)

Set the level of access for workflows outside of the repository

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/permissions/access', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setWorkflowAccessToRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository).

### actions/get-allowed-actions-repository

[](#actionsget-allowed-actions-repository)

Get allowed actions and reusable workflows for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/permissions/selected-actions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getAllowedActionsRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository).

### actions/set-allowed-actions-repository

[](#actionsset-allowed-actions-repository)

Set allowed actions for a repository

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/permissions/selected-actions', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setAllowedActionsRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository).

### actions/get-github-actions-default-workflow-permissions-repository

[](#actionsget-github-actions-default-workflow-permissions-repository)

Get default workflow permissions for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/permissions/workflow', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository).

### actions/set-github-actions-default-workflow-permissions-repository

[](#actionsset-github-actions-default-workflow-permissions-repository)

Set default workflow permissions for a repository

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/permissions/workflow', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository).

### actions/list-self-hosted-runners-for-repo

[](#actionslist-self-hosted-runners-for-repo)

List self-hosted runners for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runners', [
        'name' => 'generated',
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listSelfHostedRunnersForRepo(        name: 'generated',
        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-self-hosted-runners-for-a-repository).

### actions/list-runner-applications-for-repo

[](#actionslist-runner-applications-for-repo)

List runner applications for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runners/downloads', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->listRunnerApplicationsForRepo(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository).

### actions/generate-runner-jitconfig-for-repo

[](#actionsgenerate-runner-jitconfig-for-repo)

Create configuration for a just-in-time runner for a repository

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->generateRunnerJitconfigForRepo(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository).

### actions/create-registration-token-for-repo

[](#actionscreate-registration-token-for-repo)

Create a registration token for a repository

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runners/registration-token', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createRegistrationTokenForRepo(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository).

### actions/create-remove-token-for-repo

[](#actionscreate-remove-token-for-repo)

Create a remove token for a repository

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runners/remove-token', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createRemoveTokenForRepo(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository).

### actions/get-self-hosted-runner-for-repo

[](#actionsget-self-hosted-runner-for-repo)

Get a self-hosted runner for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->getSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository).

### actions/delete-self-hosted-runner-from-repo

[](#actionsdelete-self-hosted-runner-from-repo)

Delete a self-hosted runner from a repository

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->deleteSelfHostedRunnerFromRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository).

### actions/list-labels-for-self-hosted-runner-for-repo

[](#actionslist-labels-for-self-hosted-runner-for-repo)

List labels for a self-hosted runner for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->listLabelsForSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository).

### actions/set-custom-labels-for-self-hosted-runner-for-repo

[](#actionsset-custom-labels-for-self-hosted-runner-for-repo)

Set custom labels for a self-hosted runner for a repository

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->setCustomLabelsForSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository).

### actions/add-custom-labels-to-self-hosted-runner-for-repo

[](#actionsadd-custom-labels-to-self-hosted-runner-for-repo)

Add custom labels to a self-hosted runner for a repository

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->addCustomLabelsToSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository).

### actions/remove-all-custom-labels-from-self-hosted-runner-for-repo

[](#actionsremove-all-custom-labels-from-self-hosted-runner-for-repo)

Remove all custom labels from a self-hosted runner for a repository

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
]);
```

Operations method:

```
$client->operations()->actions()->removeAllCustomLabelsFromSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository).

### actions/remove-custom-label-from-self-hosted-runner-for-repo

[](#actionsremove-custom-label-from-self-hosted-runner-for-repo)

Remove a custom label from a self-hosted runner for a repository

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'runner_id' => 9,
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->removeCustomLabelFromSelfHostedRunnerForRepo(        owner: 'generated',
        repo: 'generated',
        runner_id: 9,
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository).

### actions/list-workflow-runs-for-repo

[](#actionslist-workflow-runs-for-repo)

List workflow runs for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'actor' => 'generated',
        'branch' => 'generated',
        'event' => 'generated',
        'status' => 'generated',
        'created' => '1970-01-01T00:00:00+00:00',
        'check_suite_id' => 14,
        'head_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'exclude_pull_requests' => ,
]);
```

Operations method:

```
$client->operations()->actions()->listWorkflowRunsForRepo(        owner: 'generated',
        repo: 'generated',
        actor: 'generated',
        branch: 'generated',
        event: 'generated',
        status: 'generated',
        created: '1970-01-01T00:00:00+00:00',
        check_suite_id: 14,
        head_sha: 'generated',
        per_page: 8,
        page: 1,
        exclude_pull_requests: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository).

### actions/get-workflow-run

[](#actionsget-workflow-run)

Get a workflow run

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'exclude_pull_requests' => ,
]);
```

Operations method:

```
$client->operations()->actions()->getWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        exclude_pull_requests: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run).

### actions/delete-workflow-run

[](#actionsdelete-workflow-run)

Delete a workflow run

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/runs/{run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->deleteWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run).

### actions/get-reviews-for-run

[](#actionsget-reviews-for-run)

Get the review history for a workflow run

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->getReviewsForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run).

### actions/approve-workflow-run

[](#actionsapprove-workflow-run)

Approve a workflow run for a fork pull request

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->approveWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request).

### actions/list-workflow-run-artifacts

[](#actionslist-workflow-run-artifacts)

List workflow run artifacts

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'name' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listWorkflowRunArtifacts(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        name: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts).

### actions/get-workflow-run-attempt

[](#actionsget-workflow-run-attempt)

Get a workflow run attempt

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
        'exclude_pull_requests' => ,
]);
```

Operations method:

```
$client->operations()->actions()->getWorkflowRunAttempt(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
        exclude_pull_requests: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt).

### actions/list-jobs-for-workflow-run-attempt

[](#actionslist-jobs-for-workflow-run-attempt)

List jobs for a workflow run attempt

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listJobsForWorkflowRunAttempt(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt).

### actions/download-workflow-run-attempt-logs

[](#actionsdownload-workflow-run-attempt-logs)

Download workflow run attempt logs

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
]);
```

Operations method:

```
$client->operations()->actions()->downloadWorkflowRunAttemptLogs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs).

### actions/download-workflow-run-attempt-logs

[](#actionsdownload-workflow-run-attempt-logs-1)

Download workflow run attempt logs

Using the `call` method:

```
$client->call('STREAM /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'attempt_number' => 14,
]);
```

Operations method:

```
$client->operations()->actions()->downloadWorkflowRunAttemptLogsStreaming(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        attempt_number: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs).

### actions/cancel-workflow-run

[](#actionscancel-workflow-run)

Cancel a workflow run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->cancelWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run).

### actions/review-custom-gates-for-run

[](#actionsreview-custom-gates-for-run)

Review custom deployment protection rules for a workflow run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->reviewCustomGatesForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run).

### actions/force-cancel-workflow-run

[](#actionsforce-cancel-workflow-run)

Force cancel a workflow run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->forceCancelWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run).

### actions/list-jobs-for-workflow-run

[](#actionslist-jobs-for-workflow-run)

List jobs for a workflow run

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listJobsForWorkflowRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
        filter: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run).

### actions/download-workflow-run-logs

[](#actionsdownload-workflow-run-logs)

Download workflow run logs

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->downloadWorkflowRunLogs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs).

### actions/download-workflow-run-logs

[](#actionsdownload-workflow-run-logs-1)

Download workflow run logs

Using the `call` method:

```
$client->call('STREAM /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->downloadWorkflowRunLogsStreaming(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs).

### actions/delete-workflow-run-logs

[](#actionsdelete-workflow-run-logs)

Delete workflow run logs

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->deleteWorkflowRunLogs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs).

### actions/get-pending-deployments-for-run

[](#actionsget-pending-deployments-for-run)

Get pending deployments for a workflow run

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->getPendingDeploymentsForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run).

### actions/review-pending-deployments-for-run

[](#actionsreview-pending-deployments-for-run)

Review pending deployments for a workflow run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->reviewPendingDeploymentsForRun(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).

### actions/re-run-workflow

[](#actionsre-run-workflow)

Re-run a workflow

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->reRunWorkflow(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow).

### actions/re-run-workflow-failed-jobs

[](#actionsre-run-workflow-failed-jobs)

Re-run failed jobs from a workflow run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->reRunWorkflowFailedJobs(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run).

### actions/get-workflow-run-usage

[](#actionsget-workflow-run-usage)

Get workflow run usage

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing', [
        'owner' => 'generated',
        'repo' => 'generated',
        'run_id' => 6,
]);
```

Operations method:

```
$client->operations()->actions()->getWorkflowRunUsage(        owner: 'generated',
        repo: 'generated',
        run_id: 6,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage).

### actions/list-repo-secrets

[](#actionslist-repo-secrets)

List repository secrets

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/secrets', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listRepoSecrets(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets).

### actions/get-repo-public-key

[](#actionsget-repo-public-key)

Get a repository public key

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/secrets/public-key', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getRepoPublicKey(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key).

### actions/get-repo-secret

[](#actionsget-repo-secret)

Get a repository secret

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret).

### actions/create-or-update-repo-secret

[](#actionscreate-or-update-repo-secret)

Create or update a repository secret

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createOrUpdateRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret).

### actions/delete-repo-secret

[](#actionsdelete-repo-secret)

Delete a repository secret

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'secret_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->deleteRepoSecret(        owner: 'generated',
        repo: 'generated',
        secret_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret).

### actions/list-repo-variables

[](#actionslist-repo-variables)

List repository variables

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/variables', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listRepoVariables(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables).

### actions/create-repo-variable

[](#actionscreate-repo-variable)

Create a repository variable

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/variables', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->createRepoVariable(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable).

### actions/get-repo-variable

[](#actionsget-repo-variable)

Get a repository variable

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->getRepoVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable).

### actions/delete-repo-variable

[](#actionsdelete-repo-variable)

Delete a repository variable

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/actions/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->deleteRepoVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable).

### actions/update-repo-variable

[](#actionsupdate-repo-variable)

Update a repository variable

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/actions/variables/{name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'name' => 'generated',
]);
```

Operations method:

```
$client->operations()->actions()->updateRepoVariable(        owner: 'generated',
        repo: 'generated',
        name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable).

### actions/list-repo-workflows

[](#actionslist-repo-workflows)

List repository workflows

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/workflows', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->actions()->listRepoWorkflows(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows).

### actions/get-workflow

[](#actionsget-workflow)

Get a workflow

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);
```

Operations method:

```
$client->operations()->actions()->getWorkflow(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow).

### actions/disable-workflow

[](#actionsdisable-workflow)

Disable a workflow

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);
```

Operations method:

```
$client->operations()->actions()->disableWorkflow(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow).

### actions/create-workflow-dispatch

[](#actionscreate-workflow-dispatch)

Create a workflow dispatch event

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);
```

Operations method:

```
$client->operations()->actions()->createWorkflowDispatch(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event).

### actions/enable-workflow

[](#actionsenable-workflow)

Enable a workflow

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);
```

Operations method:

```
$client->operations()->actions()->enableWorkflow(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow).

### actions/list-workflow-runs

[](#actionslist-workflow-runs)

List workflow runs for a workflow

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
        'actor' => 'generated',
        'branch' => 'generated',
        'event' => 'generated',
        'status' => 'generated',
        'created' => '1970-01-01T00:00:00+00:00',
        'check_suite_id' => 14,
        'head_sha' => 'generated',
        'per_page' => 8,
        'page' => 1,
        'exclude_pull_requests' => ,
]);
```

Operations method:

```
$client->operations()->actions()->listWorkflowRuns(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
        actor: 'generated',
        branch: 'generated',
        event: 'generated',
        status: 'generated',
        created: '1970-01-01T00:00:00+00:00',
        check_suite_id: 14,
        head_sha: 'generated',
        per_page: 8,
        page: 1,
        exclude_pull_requests: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow).

### actions/get-workflow-usage

[](#actionsget-workflow-usage)

Get workflow usage

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing', [
        'owner' => 'generated',
        'repo' => 'generated',
        'workflow_id' => ,
]);
```

Operations method:

```
$client->operations()->actions()->getWorkflowUsage(        owner: 'generated',
        repo: 'generated',
        workflow_id: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage).

### repos/list-activities

[](#reposlist-activities)

List repository activities

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/activity', [
        'owner' => 'generated',
        'repo' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'ref' => 'generated',
        'actor' => 'generated',
        'time_period' => 'generated',
        'activity_type' => 'generated',
        'direction' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->repos()->listActivities(        owner: 'generated',
        repo: 'generated',
        before: 'generated',
        after: 'generated',
        ref: 'generated',
        actor: 'generated',
        time_period: 'generated',
        activity_type: 'generated',
        direction: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities).

### issues/list-assignees

[](#issueslist-assignees)

List assignees

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/assignees', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->issues()->listAssignees(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees).

### issues/list-assignees

[](#issueslist-assignees-1)

List assignees

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/assignees', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->issues()->listAssigneesListing(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees).

### issues/check-user-can-be-assigned

[](#issuescheck-user-can-be-assigned)

Check if a user can be assigned

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/assignees/{assignee}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'assignee' => 'generated',
]);
```

Operations method:

```
$client->operations()->issues()->checkUserCanBeAssigned(        owner: 'generated',
        repo: 'generated',
        assignee: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned).

### repos/create-attestation

[](#reposcreate-attestation)

Create an attestation

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/attestations', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->createAttestation(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation).

### repos/list-attestations

[](#reposlist-attestations)

List attestations

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/attestations/{subject_digest}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'before' => 'generated',
        'after' => 'generated',
        'subject_digest' => 'generated',
        'predicate_type' => 'generated',
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->repos()->listAttestations(        owner: 'generated',
        repo: 'generated',
        before: 'generated',
        after: 'generated',
        subject_digest: 'generated',
        predicate_type: 'generated',
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations).

### repos/list-autolinks

[](#reposlist-autolinks)

Get all autolinks of a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/autolinks', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->listAutolinks(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository).

### repos/create-autolink

[](#reposcreate-autolink)

Create an autolink reference for a repository

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/autolinks', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->createAutolink(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository).

### repos/get-autolink

[](#reposget-autolink)

Get an autolink reference of a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/autolinks/{autolink_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'autolink_id' => 11,
]);
```

Operations method:

```
$client->operations()->repos()->getAutolink(        owner: 'generated',
        repo: 'generated',
        autolink_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository).

### repos/delete-autolink

[](#reposdelete-autolink)

Delete an autolink reference from a repository

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'autolink_id' => 11,
]);
```

Operations method:

```
$client->operations()->repos()->deleteAutolink(        owner: 'generated',
        repo: 'generated',
        autolink_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository).

### repos/check-automated-security-fixes

[](#reposcheck-automated-security-fixes)

Check if Dependabot security updates are enabled for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/automated-security-fixes', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->checkAutomatedSecurityFixes(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository).

### repos/enable-automated-security-fixes

[](#reposenable-automated-security-fixes)

Enable Dependabot security updates

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/automated-security-fixes', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->enableAutomatedSecurityFixes(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates).

### repos/disable-automated-security-fixes

[](#reposdisable-automated-security-fixes)

Disable Dependabot security updates

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/automated-security-fixes', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->disableAutomatedSecurityFixes(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates).

### repos/list-branches

[](#reposlist-branches)

List branches

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'protected' => ,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->listBranches(        owner: 'generated',
        repo: 'generated',
        protected: ,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches).

### repos/list-branches

[](#reposlist-branches-1)

List branches

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/branches', [
        'owner' => 'generated',
        'repo' => 'generated',
        'protected' => ,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->listBranchesListing(        owner: 'generated',
        repo: 'generated',
        protected: ,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches).

### repos/get-branch

[](#reposget-branch)

Get a branch

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch).

### repos/get-branch-protection

[](#reposget-branch-protection)

Get branch protection

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection).

### repos/update-branch-protection

[](#reposupdate-branch-protection)

Update branch protection

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->updateBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection).

### repos/delete-branch-protection

[](#reposdelete-branch-protection)

Delete branch protection

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->deleteBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection).

### repos/get-admin-branch-protection

[](#reposget-admin-branch-protection)

Get admin branch protection

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getAdminBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection).

### repos/set-admin-branch-protection

[](#reposset-admin-branch-protection)

Set admin branch protection

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->setAdminBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection).

### repos/delete-admin-branch-protection

[](#reposdelete-admin-branch-protection)

Delete admin branch protection

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->deleteAdminBranchProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection).

### repos/get-pull-request-review-protection

[](#reposget-pull-request-review-protection)

Get pull request review protection

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getPullRequestReviewProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection).

### repos/delete-pull-request-review-protection

[](#reposdelete-pull-request-review-protection)

Delete pull request review protection

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->deletePullRequestReviewProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection).

### repos/update-pull-request-review-protection

[](#reposupdate-pull-request-review-protection)

Update pull request review protection

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->updatePullRequestReviewProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection).

### repos/get-commit-signature-protection

[](#reposget-commit-signature-protection)

Get commit signature protection

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getCommitSignatureProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection).

### repos/create-commit-signature-protection

[](#reposcreate-commit-signature-protection)

Create commit signature protection

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->createCommitSignatureProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection).

### repos/delete-commit-signature-protection

[](#reposdelete-commit-signature-protection)

Delete commit signature protection

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->deleteCommitSignatureProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection).

### repos/get-status-checks-protection

[](#reposget-status-checks-protection)

Get status checks protection

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getStatusChecksProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection).

### repos/remove-status-check-protection

[](#reposremove-status-check-protection)

Remove status check protection

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->removeStatusCheckProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection).

### repos/update-status-check-protection

[](#reposupdate-status-check-protection)

Update status check protection

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->updateStatusCheckProtection(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection).

### repos/get-all-status-check-contexts

[](#reposget-all-status-check-contexts)

Get all status check contexts

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getAllStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts).

### repos/set-status-check-contexts

[](#reposset-status-check-contexts)

Set status check contexts

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->setStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts).

### repos/add-status-check-contexts

[](#reposadd-status-check-contexts)

Add status check contexts

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->addStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts).

### repos/remove-status-check-contexts

[](#reposremove-status-check-contexts)

Remove status check contexts

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->removeStatusCheckContexts(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts).

### repos/get-access-restrictions

[](#reposget-access-restrictions)

Get access restrictions

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions).

### repos/delete-access-restrictions

[](#reposdelete-access-restrictions)

Delete access restrictions

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->deleteAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions).

### repos/get-apps-with-access-to-protected-branch

[](#reposget-apps-with-access-to-protected-branch)

Get apps with access to the protected branch

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getAppsWithAccessToProtectedBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch).

### repos/set-app-access-restrictions

[](#reposset-app-access-restrictions)

Set app access restrictions

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->setAppAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions).

### repos/add-app-access-restrictions

[](#reposadd-app-access-restrictions)

Add app access restrictions

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->addAppAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions).

### repos/remove-app-access-restrictions

[](#reposremove-app-access-restrictions)

Remove app access restrictions

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->removeAppAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions).

### repos/get-teams-with-access-to-protected-branch

[](#reposget-teams-with-access-to-protected-branch)

Get teams with access to the protected branch

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getTeamsWithAccessToProtectedBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch).

### repos/set-team-access-restrictions

[](#reposset-team-access-restrictions)

Set team access restrictions

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->setTeamAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions).

### repos/add-team-access-restrictions

[](#reposadd-team-access-restrictions)

Add team access restrictions

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->addTeamAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions).

### repos/remove-team-access-restrictions

[](#reposremove-team-access-restrictions)

Remove team access restrictions

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->removeTeamAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions).

### repos/get-users-with-access-to-protected-branch

[](#reposget-users-with-access-to-protected-branch)

Get users with access to the protected branch

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->getUsersWithAccessToProtectedBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch).

### repos/set-user-access-restrictions

[](#reposset-user-access-restrictions)

Set user access restrictions

Using the `call` method:

```
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->setUserAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions).

### repos/add-user-access-restrictions

[](#reposadd-user-access-restrictions)

Add user access restrictions

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->addUserAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions).

### repos/remove-user-access-restrictions

[](#reposremove-user-access-restrictions)

Remove user access restrictions

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->removeUserAccessRestrictions(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions).

### repos/rename-branch

[](#reposrename-branch)

Rename a branch

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/rename', [
        'owner' => 'generated',
        'repo' => 'generated',
        'branch' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->renameBranch(        owner: 'generated',
        repo: 'generated',
        branch: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch).

### repos/list-repo-push-bypass-requests

[](#reposlist-repo-push-bypass-requests)

List repository push rule bypass requests

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/bypass-requests/push-rules', [
        'owner' => 'generated',
        'repo' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->listRepoPushBypassRequests(        owner: 'generated',
        repo: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/bypass-requests#list-repository-push-rule-bypass-requests).

### repos/list-repo-push-bypass-requests

[](#reposlist-repo-push-bypass-requests-1)

List repository push rule bypass requests

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/bypass-requests/push-rules', [
        'owner' => 'generated',
        'repo' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->repos()->listRepoPushBypassRequestsListing(        owner: 'generated',
        repo: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/bypass-requests#list-repository-push-rule-bypass-requests).

### repos/get-repo-push-bypass-request

[](#reposget-repo-push-bypass-request)

Get a repository push bypass request

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'bypass_request_number' => 21,
]);
```

Operations method:

```
$client->operations()->repos()->getRepoPushBypassRequest(        owner: 'generated',
        repo: 'generated',
        bypass_request_number: 21,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/bypass-requests#get-a-repository-push-bypass-request).

### secret-scanning/list-repo-bypass-requests

[](#secret-scanninglist-repo-bypass-requests)

List bypass requests for secret scanning for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/bypass-requests/secret-scanning', [
        'owner' => 'generated',
        'repo' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->secretScanning()->listRepoBypassRequests(        owner: 'generated',
        repo: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-a-repository).

### secret-scanning/list-repo-bypass-requests

[](#secret-scanninglist-repo-bypass-requests-1)

List bypass requests for secret scanning for a repository

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/bypass-requests/secret-scanning', [
        'owner' => 'generated',
        'repo' => 'generated',
        'reviewer' => 'generated',
        'requester' => 'generated',
        'time_period' => 'generated',
        'request_status' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->secretScanning()->listRepoBypassRequestsListing(        owner: 'generated',
        repo: 'generated',
        reviewer: 'generated',
        requester: 'generated',
        time_period: 'generated',
        request_status: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#list-bypass-requests-for-secret-scanning-for-a-repository).

### secret-scanning/get-bypass-request

[](#secret-scanningget-bypass-request)

Get a bypass request for secret scanning

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'bypass_request_number' => 21,
]);
```

Operations method:

```
$client->operations()->secretScanning()->getBypassRequest(        owner: 'generated',
        repo: 'generated',
        bypass_request_number: 21,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#get-a-bypass-request-for-secret-scanning).

### secret-scanning/review-bypass-request

[](#secret-scanningreview-bypass-request)

Review a bypass request for secret scanning

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/bypass-requests/secret-scanning/{bypass_request_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'bypass_request_number' => 21,
]);
```

Operations method:

```
$client->operations()->secretScanning()->reviewBypassRequest(        owner: 'generated',
        repo: 'generated',
        bypass_request_number: 21,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#review-a-bypass-request-for-secret-scanning).

### secret-scanning/dismiss-bypass-response

[](#secret-scanningdismiss-bypass-response)

Dismiss a response on a bypass request for secret scanning

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'bypass_response_id' => 18,
]);
```

Operations method:

```
$client->operations()->secretScanning()->dismissBypassResponse(        owner: 'generated',
        repo: 'generated',
        bypass_response_id: 18,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/delegated-bypass#dismiss-a-response-on-a-bypass-request-for-secret-scanning).

### checks/create

[](#checkscreate)

Create a check run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/check-runs', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->checks()->create(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run).

### checks/get

[](#checksget)

Get a check run

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/check-runs/{check_run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
]);
```

Operations method:

```
$client->operations()->checks()->get(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run).

### checks/update

[](#checksupdate)

Update a check run

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
]);
```

Operations method:

```
$client->operations()->checks()->update(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run).

### checks/list-annotations

[](#checkslist-annotations)

List check run annotations

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->checks()->listAnnotations(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations).

### checks/list-annotations

[](#checkslist-annotations-1)

List check run annotations

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->checks()->listAnnotationsListing(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations).

### checks/rerequest-run

[](#checksrerequest-run)

Rerequest a check run

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_run_id' => 12,
]);
```

Operations method:

```
$client->operations()->checks()->rerequestRun(        owner: 'generated',
        repo: 'generated',
        check_run_id: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run).

### checks/create-suite

[](#checkscreate-suite)

Create a check suite

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/check-suites', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->checks()->createSuite(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite).

### checks/set-suites-preferences

[](#checksset-suites-preferences)

Update repository preferences for check suites

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/check-suites/preferences', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->checks()->setSuitesPreferences(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites).

### checks/get-suite

[](#checksget-suite)

Get a check suite

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/check-suites/{check_suite_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_suite_id' => 14,
]);
```

Operations method:

```
$client->operations()->checks()->getSuite(        owner: 'generated',
        repo: 'generated',
        check_suite_id: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite).

### checks/list-for-suite

[](#checkslist-for-suite)

List check runs in a check suite

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_suite_id' => 14,
        'check_name' => 'generated',
        'status' => 'generated',
        'filter' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->checks()->listForSuite(        owner: 'generated',
        repo: 'generated',
        check_suite_id: 14,
        check_name: 'generated',
        status: 'generated',
        filter: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite).

### checks/rerequest-suite

[](#checksrerequest-suite)

Rerequest a check suite

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest', [
        'owner' => 'generated',
        'repo' => 'generated',
        'check_suite_id' => 14,
]);
```

Operations method:

```
$client->operations()->checks()->rerequestSuite(        owner: 'generated',
        repo: 'generated',
        check_suite_id: 14,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite).

### code-scanning/list-alerts-for-repo

[](#code-scanninglist-alerts-for-repo)

List code scanning alerts for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'ref' => 'generated',
        'pr' => 2,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertsForRepo(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        ref: 'generated',
        pr: 2,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository).

### code-scanning/list-alerts-for-repo

[](#code-scanninglist-alerts-for-repo-1)

List code scanning alerts for a repository

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/code-scanning/alerts', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'ref' => 'generated',
        'pr' => 2,
        'before' => 'generated',
        'after' => 'generated',
        'state' => 'generated',
        'severity' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertsForRepoListing(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        ref: 'generated',
        pr: 2,
        before: 'generated',
        after: 'generated',
        state: 'generated',
        severity: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository).

### code-scanning/get-alert

[](#code-scanningget-alert)

Get a code scanning alert

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);
```

Operations method:

```
$client->operations()->codeScanning()->getAlert(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert).

### code-scanning/update-alert

[](#code-scanningupdate-alert)

Update a code scanning alert

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);
```

Operations method:

```
$client->operations()->codeScanning()->updateAlert(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert).

### code-scanning/get-autofix

[](#code-scanningget-autofix)

Get the status of an autofix for a code scanning alert

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);
```

Operations method:

```
$client->operations()->codeScanning()->getAutofix(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert).

### code-scanning/create-autofix

[](#code-scanningcreate-autofix)

Create an autofix for a code scanning alert

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);
```

Operations method:

```
$client->operations()->codeScanning()->createAutofix(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert).

### code-scanning/commit-autofix

[](#code-scanningcommit-autofix)

Commit an autofix for a code scanning alert

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
]);
```

Operations method:

```
$client->operations()->codeScanning()->commitAutofix(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert).

### code-scanning/list-alert-instances

[](#code-scanninglist-alert-instances)

List instances of a code scanning alert

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
        'ref' => 'generated',
        'pr' => 2,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertInstances(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
        ref: 'generated',
        pr: 2,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert).

### code-scanning/list-alert-instances

[](#code-scanninglist-alert-instances-1)

List instances of a code scanning alert

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances', [
        'owner' => 'generated',
        'repo' => 'generated',
        'alert_number' => 12,
        'ref' => 'generated',
        'pr' => 2,
        'page' => 1,
        'per_page' => 8,
]);
```

Operations method:

```
$client->operations()->codeScanning()->listAlertInstancesListing(        owner: 'generated',
        repo: 'generated',
        alert_number: 12,
        ref: 'generated',
        pr: 2,
        page: 1,
        per_page: 8,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert).

### code-scanning/list-recent-analyses

[](#code-scanninglist-recent-analyses)

List code scanning analyses for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/analyses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'pr' => 2,
        'ref' => 'generated',
        'sarif_id' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listRecentAnalyses(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        pr: 2,
        ref: 'generated',
        sarif_id: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository).

### code-scanning/list-recent-analyses

[](#code-scanninglist-recent-analyses-1)

List code scanning analyses for a repository

Using the `call` method:

```
$client->call('LIST /repos/{owner}/{repo}/code-scanning/analyses', [
        'owner' => 'generated',
        'repo' => 'generated',
        'tool_name' => 'generated',
        'tool_guid' => ,
        'pr' => 2,
        'ref' => 'generated',
        'sarif_id' => 'generated',
        'page' => 1,
        'per_page' => 8,
        'direction' => 'generated',
        'sort' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listRecentAnalysesListing(        owner: 'generated',
        repo: 'generated',
        tool_name: 'generated',
        tool_guid: ,
        pr: 2,
        ref: 'generated',
        sarif_id: 'generated',
        page: 1,
        per_page: 8,
        direction: 'generated',
        sort: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository).

### code-scanning/get-analysis

[](#code-scanningget-analysis)

Get a code scanning analysis for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'analysis_id' => 11,
]);
```

Operations method:

```
$client->operations()->codeScanning()->getAnalysis(        owner: 'generated',
        repo: 'generated',
        analysis_id: 11,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository).

### code-scanning/delete-analysis

[](#code-scanningdelete-analysis)

Delete a code scanning analysis from a repository

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'analysis_id' => 11,
        'confirm_delete' => ,
]);
```

Operations method:

```
$client->operations()->codeScanning()->deleteAnalysis(        owner: 'generated',
        repo: 'generated',
        analysis_id: 11,
        confirm_delete: ,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository).

### code-scanning/list-codeql-databases

[](#code-scanninglist-codeql-databases)

List CodeQL databases for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/databases', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->listCodeqlDatabases(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository).

### code-scanning/get-codeql-database

[](#code-scanningget-codeql-database)

Get a CodeQL database for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'language' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->getCodeqlDatabase(        owner: 'generated',
        repo: 'generated',
        language: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository).

### code-scanning/delete-codeql-database

[](#code-scanningdelete-codeql-database)

Delete a CodeQL database

Using the `call` method:

```
$client->call('DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'language' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->deleteCodeqlDatabase(        owner: 'generated',
        repo: 'generated',
        language: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database).

### code-scanning/create-variant-analysis

[](#code-scanningcreate-variant-analysis)

Create a CodeQL variant analysis

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->createVariantAnalysis(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis).

### code-scanning/get-variant-analysis

[](#code-scanningget-variant-analysis)

Get the summary of a CodeQL variant analysis

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'codeql_variant_analysis_id' => 26,
]);
```

Operations method:

```
$client->operations()->codeScanning()->getVariantAnalysis(        owner: 'generated',
        repo: 'generated',
        codeql_variant_analysis_id: 26,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis).

### code-scanning/get-variant-analysis-repo-task

[](#code-scanningget-variant-analysis-repo-task)

Get the analysis status of a repository in a CodeQL variant analysis

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'codeql_variant_analysis_id' => 26,
        'repo_owner' => 'generated',
        'repo_name' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->getVariantAnalysisRepoTask(        owner: 'generated',
        repo: 'generated',
        codeql_variant_analysis_id: 26,
        repo_owner: 'generated',
        repo_name: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis).

### code-scanning/get-default-setup

[](#code-scanningget-default-setup)

Get a code scanning default setup configuration

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/default-setup', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->getDefaultSetup(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration).

### code-scanning/update-default-setup

[](#code-scanningupdate-default-setup)

Update a code scanning default setup configuration

Using the `call` method:

```
$client->call('PATCH /repos/{owner}/{repo}/code-scanning/default-setup', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->updateDefaultSetup(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration).

### code-scanning/upload-sarif

[](#code-scanningupload-sarif)

Upload an analysis as SARIF data

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/code-scanning/sarifs', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->uploadSarif(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data).

### code-scanning/get-sarif

[](#code-scanningget-sarif)

Get information about a SARIF upload

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}', [
        'owner' => 'generated',
        'repo' => 'generated',
        'sarif_id' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeScanning()->getSarif(        owner: 'generated',
        repo: 'generated',
        sarif_id: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload).

### code-security/get-configuration-for-repository

[](#code-securityget-configuration-for-repository)

Get the code security configuration associated with a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/code-security-configuration', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->codeSecurity()->getConfigurationForRepository(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository).

### repos/codeowners-errors

[](#reposcodeowners-errors)

List CODEOWNERS errors

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/codeowners/errors', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
]);
```

Operations method:

```
$client->operations()->repos()->codeownersErrors(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors).

### codespaces/list-in-repository-for-authenticated-user

[](#codespaceslist-in-repository-for-authenticated-user)

List codespaces in a repository for the authenticated user

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/codespaces', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->codespaces()->listInRepositoryForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#list-codespaces-in-a-repository-for-the-authenticated-user).

### codespaces/create-with-repo-for-authenticated-user

[](#codespacescreate-with-repo-for-authenticated-user)

Create a codespace in a repository

Using the `call` method:

```
$client->call('POST /repos/{owner}/{repo}/codespaces', [
        'owner' => 'generated',
        'repo' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->createWithRepoForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository).

### codespaces/list-devcontainers-in-repository-for-authenticated-user

[](#codespaceslist-devcontainers-in-repository-for-authenticated-user)

List devcontainer configurations in a repository for the authenticated user

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/codespaces/devcontainers', [
        'owner' => 'generated',
        'repo' => 'generated',
        'per_page' => 8,
        'page' => 1,
]);
```

Operations method:

```
$client->operations()->codespaces()->listDevcontainersInRepositoryForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        per_page: 8,
        page: 1,
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#list-devcontainer-configurations-in-a-repository-for-the-authenticated-user).

### codespaces/repo-machines-for-authenticated-user

[](#codespacesrepo-machines-for-authenticated-user)

List available machine types for a repository

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/codespaces/machines', [
        'owner' => 'generated',
        'repo' => 'generated',
        'location' => 'generated',
        'client_ip' => 'generated',
        'ref' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->repoMachinesForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        location: 'generated',
        client_ip: 'generated',
        ref: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository).

### codespaces/pre-flight-with-repo-for-authenticated-user

[](#codespacespre-flight-with-repo-for-authenticated-user)

Get default attributes for a codespace

Using the `call` method:

```
$client->call('GET /repos/{owner}/{repo}/codespaces/new', [
        'owner' => 'generated',
        'repo' => 'generated',
        'ref' => 'generated',
        'client_ip' => 'generated',
]);
```

Operations method:

```
$client->operations()->codespaces()->preFlightWithRepoForAuthenticatedUser(        owner: 'generated',
        repo: 'generated',
        ref: 'generated',
        client_ip: 'generated',
);
```

You can find more about this operation over at the [API method documentation](https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace).

### codespaces/check-permissions-for-devcontainer

[](#codespacescheck-permissions-for-devcontainer)

Check if permissions defined by a devcontainer have been accepted by the authen

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance44

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

439d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (247 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (14 commits)")

### Embed Badge

![Health badge](/badges/api-clients-github-enterprise-cloud/health.svg)

```
[![Health](https://phpackages.com/badges/api-clients-github-enterprise-cloud/health.svg)](https://phpackages.com/packages/api-clients-github-enterprise-cloud)
```

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

42.9k337.6k1](/packages/ccxt-ccxt)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k406.5k25](/packages/team-reflex-discord-php)[web3p/web3.php

Ethereum web3 interface.

1.2k348.3k41](/packages/web3p-web3php)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.2M5](/packages/kirschbaum-development-laravel-openapi-validator)[php-mcp/client

PHP Client for the Model Context Protocol (MCP)

5621.5k](/packages/php-mcp-client)[ensi/laravel-openapi-server-generator

laravel openapi server generator

1576.9k](/packages/ensi-laravel-openapi-server-generator)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
