Delete one or more Global Config tokens | Vercel REST API

Delete one or more Global Config tokens

DEL https://api.vercel.com/v1/global-config/{edgeConfigId}/tokens

Deletes one or more tokens of an existing Global Config.

Request Example

const response = await fetch('https://api.vercel.com/v1/global-config/edgeConfigId/tokens?teamId=string&slug=string', {
  method: 'DELETE',
  headers: {
    'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);

Response

{}

Authentication

Authorization: bearerToken

Default authentication mechanism.

Path Parameters

Query Parameters

Body

Content-Type: application/json

Response Codes

Errors