You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[getV1BulkRedirects](docs/sdks/vercel/README.md#getv1bulkredirects) - Get the version history for a project's bulk redirects
288
-
*[deleteV1BulkRedirects](docs/sdks/vercel/README.md#deletev1bulkredirects) - Deletes the provided redirects from the latest version of the projects' bulk redirects. Stages a new change with the new redirects and returns the alias for the new version in the response.
289
-
*[patchV1BulkRedirects](docs/sdks/vercel/README.md#patchv1bulkredirects) - Edits a single redirect identified by its source path. Stages a new change with the modified redirect and returns the alias for the new version in the response.
290
-
*[postV1BulkRedirectsRestore](docs/sdks/vercel/README.md#postv1bulkredirectsrestore) - Restores the provided redirects in the staging version to the value in the production version. If no production version exists, removes the redirects from staging.
291
-
*[getV1BulkRedirectsVersions](docs/sdks/vercel/README.md#getv1bulkredirectsversions) - Get the version history for a project's bulk redirects
292
-
*[postV1BulkRedirectsVersions](docs/sdks/vercel/README.md#postv1bulkredirectsversions) - Update a version by promoting staging to production or restoring a previous production version
-[`bulkRedirectsGetVersions`](docs/sdks/bulkredirects/README.md#getversions) - Get the version history for a project's redirects.
648
+
-[`bulkRedirectsRestoreRedirects`](docs/sdks/bulkredirects/README.md#restoreredirects) - Restore staged project-level redirects to their production version.
649
+
-[`bulkRedirectsStageRedirects`](docs/sdks/bulkredirects/README.md#stageredirects) - Stages new redirects for a project.
650
+
-[`bulkRedirectsUpdateVersion`](docs/sdks/bulkredirects/README.md#updateversion) - Promote a staging version to production or restore a previous production version.
640
651
-[`certsGetCertById`](docs/sdks/certs/README.md#getcertbyid) - Get cert by id
641
652
-[`certsIssueCert`](docs/sdks/certs/README.md#issuecert) - Issue a new cert
@@ -648,7 +659,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
648
659
-[`checksUpdateCheck`](docs/sdks/checks/README.md#updatecheck) - Update a check
649
660
-[`connectUpdateStaticIps`](docs/sdks/connect/README.md#updatestaticips) - Configures Static IPs for a project
650
661
-[`connectUpdateStaticIps`](docs/sdks/staticips/README.md#updatestaticips) - Configures Static IPs for a project
651
-
-[`deleteV1BulkRedirects`](docs/sdks/vercel/README.md#deletev1bulkredirects) - Deletes the provided redirects from the latest version of the projects' bulk redirects. Stages a new change with the new redirects and returns the alias for the new version in the response.
652
662
-[`deploymentsCancelDeployment`](docs/sdks/deployments/README.md#canceldeployment) - Cancel a deployment
653
663
-[`deploymentsCreateDeployment`](docs/sdks/deployments/README.md#createdeployment) - Create a new deployment
654
664
-[`deploymentsDeleteDeployment`](docs/sdks/deployments/README.md#deletedeployment) - Delete a Deployment
@@ -725,8 +735,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
725
735
-[`environmentUnlinkSharedEnvVariable`](docs/sdks/environment/README.md#unlinksharedenvvariable) - Disconnects a shared environment variable for a given project
726
736
-[`environmentUpdateCustomEnvironment`](docs/sdks/environment/README.md#updatecustomenvironment) - Update a custom environment
727
737
-[`environmentUpdateSharedEnvVariable`](docs/sdks/environment/README.md#updatesharedenvvariable) - Updates one or more shared environment variables
728
-
-[`getV1BulkRedirects`](docs/sdks/vercel/README.md#getv1bulkredirects) - Get the version history for a project's bulk redirects
729
-
-[`getV1BulkRedirectsVersions`](docs/sdks/vercel/README.md#getv1bulkredirectsversions) - Get the version history for a project's bulk redirects
730
738
-[`integrationsConnectIntegrationResourceToProject`](docs/sdks/integrations/README.md#connectintegrationresourcetoproject) - Connect integration resource to project
731
739
-[`integrationsCreateIntegrationStoreDirect`](docs/sdks/integrations/README.md#createintegrationstoredirect) - Create integration store (free and paid plans)
732
740
-[`integrationsDeleteConfiguration`](docs/sdks/integrations/README.md#deleteconfiguration) - Delete an integration configuration
@@ -765,9 +773,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
-[`patchV1BulkRedirects`](docs/sdks/vercel/README.md#patchv1bulkredirects) - Edits a single redirect identified by its source path. Stages a new change with the modified redirect and returns the alias for the new version in the response.
769
-
-[`postV1BulkRedirectsRestore`](docs/sdks/vercel/README.md#postv1bulkredirectsrestore) - Restores the provided redirects in the staging version to the value in the production version. If no production version exists, removes the redirects from staging.
770
-
-[`postV1BulkRedirectsVersions`](docs/sdks/vercel/README.md#postv1bulkredirectsversions) - Update a version by promoting staging to production or restoring a previous production version
771
776
-[`projectMembersAddProjectMember`](docs/sdks/projectmembers/README.md#addprojectmember) - Adds a new member to a project.
772
777
-[`projectMembersGetProjectMembers`](docs/sdks/projectmembers/README.md#getprojectmembers) - List project members
773
778
-[`projectMembersRemoveProjectMember`](docs/sdks/projectmembers/README.md#removeprojectmember) - Remove a Project Member
@@ -799,7 +804,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
799
804
-[`projectsUpdateProjectProtectionBypass`](docs/sdks/projects/README.md#updateprojectprotectionbypass) - Update Protection Bypass for Automation
800
805
-[`projectsUploadProjectClientCert`](docs/sdks/projects/README.md#uploadprojectclientcert) - Upload client certificate for egress mTLS
-[`rollingReleaseApproveRollingReleaseStage`](docs/sdks/rollingrelease/README.md#approverollingreleasestage) - Update the active rolling release to the next stage for a project
804
808
-[`rollingReleaseCompleteRollingRelease`](docs/sdks/rollingrelease/README.md#completerollingrelease) - Complete the rolling release for the project
805
809
-[`rollingReleaseDeleteRollingReleaseConfig`](docs/sdks/rollingrelease/README.md#deleterollingreleaseconfig) - Delete rolling release configuration
@@ -893,10 +897,16 @@ To change the default retry strategy for a single API call, simply provide a ret
893
897
```typescript
894
898
import { Vercel } from"@vercel/sdk";
895
899
896
-
const vercel =newVercel();
900
+
const vercel =newVercel({
901
+
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
902
+
});
897
903
898
904
asyncfunction run() {
899
-
const result =awaitvercel.putV1BulkRedirects({
905
+
const result =awaitvercel.accessGroups.readAccessGroup({
906
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
907
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
908
+
slug: "my-team-url-slug",
909
+
}, {
900
910
retries: {
901
911
strategy: "backoff",
902
912
backoff: {
@@ -931,10 +941,15 @@ const vercel = new Vercel({
931
941
},
932
942
retryConnectionErrors: false,
933
943
},
944
+
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
934
945
});
935
946
936
947
asyncfunction run() {
937
-
const result =awaitvercel.putV1BulkRedirects();
948
+
const result =awaitvercel.accessGroups.readAccessGroup({
949
+
idOrName: "ag_1a2b3c4d5e6f7g8h9i0j",
950
+
teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
951
+
slug: "my-team-url-slug",
952
+
});
938
953
939
954
console.log(result);
940
955
}
@@ -1055,10 +1070,15 @@ import { Vercel } from "@vercel/sdk";
1055
1070
1056
1071
const vercel =newVercel({
1057
1072
serverURL: "https://api.vercel.com",
1073
+
bearerToken: "<YOUR_BEARER_TOKEN_HERE>",
1058
1074
});
1059
1075
1060
1076
asyncfunction run() {
1061
-
const result =awaitvercel.putV1BulkRedirects();
1077
+
const result =awaitvercel.accessGroups.readAccessGroup({
0 commit comments