PATCH
/
v1
/
edge-config
/
{edgeConfigId}
/
items
const options = {
  method: 'PATCH',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"items":[{"operation":"create","key":"<string>","value":"<any>","description":"<string>"}],"definition":"<any>"}'
};

fetch('https://api.vercel.com/v1/edge-config/{edgeConfigId}/items', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
{
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

edgeConfigId
string
required

Query Parameters

dryRun
string
teamId
string

The Team identifier to perform the request on behalf of.

Example:

"team_1a2b3c4d5e6f7g8h9i0j1k2l"

slug
string

The Team slug to perform the request on behalf of.

Example:

"my-team-url-slug"

Body

application/json

Response

200
application/json

The response is of type object.