---
title: "Update a Global Config"
method: PUT
path: "/v1/global-config/{edgeConfigId}"
tags: ["global-config"]
---

# Update a Global Config

`PUT /v1/global-config/{edgeConfigId}`

## Request

- Base URL: `https://api.vercel.com`
- URL: `https://api.vercel.com/v1/global-config/{edgeConfigId}`
- Auth: HTTP bearer

Updates a Global Config.

## Path parameters

- `edgeConfigId` string, required

## Query parameters

- `teamId` string
- `slug` string

## Request body

- object
  - `slug` string, required

## Response `200`

- object: A Global Config
  - `createdAt` number, required
  - `createdBy` string: The ID of the user who created the Global Config, optional because it is not always set.
  - `digest` string, required
  - `id` string, required
  - `itemCount` number, required
  - `ownerId` string, required
  - `sizeInBytes` number, required
  - `slug` string, required: Name for the Global Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores).
  - `updatedAt` number, required

## Other responses

- `400`: One of the provided values in the request body is invalid. One of the provided values in the request query is invalid.
- `401`: The request is not authorized.
- `402`: The account is missing a payment so payment method must be updated
- `403`: You do not have permission to access this resource.
- `404`
- `409`
- `410`

## Changes

- **2026-10-02** `41e24ae097d4`: 5 warning
  - removed the optional property `deletedAt` from the response with the `200` status
  - removed the optional property `purpose` from the response with the `200` status
  - removed the optional property `schema` from the response with the `200` status
  - removed the optional property `syncedToDynamoAt` from the response with the `200` status
  - …1 more
- **2026-10-01** `9958fd10bb05`: 1 breaking
  - request body became required
- **2026-07-31** `e20468c66692`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vercel/apis/vercel-api/changes/v1/global-config/:edgeConfigId/put.md)

---

[API](https://skmtc.dev/vercel/apis/vercel-api.md) - [All operations](https://skmtc.dev/vercel/apis/vercel-api/llms.txt) - [OpenAPI document](https://skmtc.dev/vercel/apis/vercel-api/revisions/60686c0e1f6a?raw)
