---
title: "Replace Example Check variables"
method: PUT
path: "/v2/teamspaces/{teamspaceId}/sites/{siteId}/example-check/settings"
tags: ["Docs7 Sites"]
---

# Replace Example Check variables

`PUT /v2/teamspaces/{teamspaceId}/sites/{siteId}/example-check/settings`

## Request

- Base URL: `https://context7.com/api`
- URL: `https://context7.com/api/v2/teamspaces/{teamspaceId}/sites/{siteId}/example-check/settings`
- Auth: HTTP bearer

Replaces the whole variable list. A variable sent without `value` keeps its stored value. An https URL is passed to the agent; any other value is a secret sent only as a bearer header to the host of its `<NAME>_URL` variable. Saving variables that complete a page's needs starts a check of those pages.

## Request body

- object
  - `variables` object[], required
    - `name` string, required
    - `value` string: Leave out to keep the stored value.

## Response `200`

Saved variables

- object
  - `data` object

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid bearer
- `403`: Not allowed for this caller or plan
- `404`: Not found
- `409`: Conflict
- `500`: Internal error

## Changes

- **2026-10-28** `1fd763a39c5d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/context7/apis/context7-public-api/changes/v2/teamspaces/:teamspaceId/sites/:siteId/example-check/settings/put.md)

---

[API](https://skmtc.dev/context7/apis/context7-public-api.md) - [All operations](https://skmtc.dev/context7/apis/context7-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/context7/apis/context7-public-api/revisions/945f7834fa8c?raw)
