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

# Update Global Config schema

`POST /v1/global-config/{edgeConfigId}/schema`

## Request

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

Update a Global Config's schema.

## Path parameters

- `edgeConfigId` string, required

## Query parameters

- `dryRun` string
- `teamId` string
- `slug` string

## Request body

- object
  - `definition` unknown, required

## Response `200`

- object, nullable: The JSON schema uploaded by the user

## 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-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/schema/post.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)
