[Experimental]

Update an environment variable's value

⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️

Replaces the value of an existing environment variable. Only the value is mutable — the project, environment, key, and branch are fixed at create-time.

patch/v1/environment-variables/{envVarId}

Request

  • Base URL: https://api.prisma.io
  • URL: https://api.prisma.io/v1/environment-variables/{envVarId}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
    • HTTP bearer

Path parameters

envVarIdstring required

Request body

valuestring required

Response

Variable updated.

Changes

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