---
title: "Update variables"
method: PATCH
path: "/orgs/variables"
tags: ["Workspace"]
---

# Update variables

`PATCH /orgs/variables`

## Request

- Base URL: `https://api.useinvent.com`
- URL: `https://api.useinvent.com/orgs/variables`
- Auth: HTTP bearer

Update variables for a specific org.

## Query parameters

- `page` number
- `take` number
- `next` string
- `progressive` boolean

## Request body

- OrgVariableSchema[]
  - `key` string, required: The key of the org variable
  - `value` string: The value of the org variable
  - `secret` boolean: Indicates if the variable is a secret

## Response `200`

An array of updated org variables.

- OrgVariableSchema[]
  - `key` string, required: The key of the org variable
  - `value` string: The value of the org variable
  - `secret` boolean: Indicates if the variable is a secret

---

[API](https://skmtc.dev/useinvent/apis/invent-api.md) · [All operations](https://skmtc.dev/useinvent/apis/invent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useinvent/apis/invent-api/revisions/98824f3fde82?raw)
