POST /v1/projects/{idOrName}/client-cert
Upload a client certificate for mTLS authentication to external origins.
Servers
- https://api.vercel.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
idOrName |
String | Yes |
The unique project identifier or the project name |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
teamId |
String | No |
The Team identifier to perform the request on behalf of. |
slug |
String | No |
The Team slug to perform the request on behalf of. |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
ca |
String | Yes |
The certificate authority in PEM format |
skipValidation |
Boolean | No |
Skip validation of the certificate |
key |
String | Yes |
The private key in PEM format |
cert |
String | Yes |
The client certificate in PEM format |
origin |
String | No |
The origin this certificate should be used for. If not specified, the certificate will be project-wide. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.