Upload a cert
PUT
https://api.vercel.com/v8/certsUpload a cert
https://api.vercel.com/v8/certs
const response = await fetch('https://api.vercel.com/v8/certs?teamId=string&slug=string', { method: 'PUT', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', }, body: JSON.stringify({ "ca": "string", "key": "string", "cert": "string", "skipValidation": "true" }),});
const data = await response.json();console.log(data);Response
{ "id": "icfg_1234567890", "createdAt": "123", "expiresAt": "123", "autoRenew": "false", "cns": []}AuthorizationbearerToken
Default authentication mechanism
400One of the provided values in the request body is invalid.
401The request is not authorized.
402This feature is only available for Enterprise customers.
403You do not have permission to access this resource.
410Error