Environments

Exclude inherited item

Hides an inherited item from this environment and its forks. DELETE on an inherited variable, file, MCP, skill, or registry through this environment does the same. Locked variables can't be excluded (409).

post/v1/environments/{environment_id}/exclusions

Request

  • Base URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/environments/{environment_id}/exclusions
  • Auth
    HTTP bearer

Path parameters

environment_idstring required

Environment UUID.

Headers

X-Replicas-Api-Version'2026-10-07'

API version. 2026-10-07 returns snake_case responses. See versioning.

Request body

kind'variable' | 'file' | 'mcp' | 'skill' | 'skills_registry' | 'plugin' | 'integration' required
keystring required

Variable key, file path, MCP name, skill slug, registry URL, plugin id, or doppler/infisical.

Response

Excluded

successboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.