---
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`

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`

---

[API](https://skmtc.net/vercel/apis/api.md) · [All operations](https://skmtc.net/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vercel/api/versions/61d1ba3f6dac/schema)
