---
title: "PATCH config"
method: PATCH
path: "/configs/{config_id}"
tags: ["Configs"]
---

# PATCH config

`PATCH /configs/{config_id}`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/configs/{config_id}`
- Auth: HTTP bearer

Merge provided keys into the existing stored config. Pass only the keys you want to change.

## Path parameters

- `config_id` integer, required

## Request body

- ConfigPatch
  - `config` object, required: Keys to merge into the existing stored config.

## Response `200`

- ConfigRowResponse
  - `config` object: Stored override keys.
  - `config_id` integer: Unique identifier for this config row.
  - `created_at` string, date-time: Creation timestamp.
  - `created_by` integer: user_id of the creator.
  - `ref_id` integer: ID for the ref_type.
  - `ref_type` string: Scope: 'global', 'branch', or 'user'
  - `updated_at` string, date-time, nullable: Last update timestamp.
  - `updated_by` integer, nullable: user_id of the last updater.

## Other responses

- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Config not found.

---

[API](https://skmtc.dev/equipmentshare/apis/es-api.md) - [All operations](https://skmtc.dev/equipmentshare/apis/es-api/llms.txt) - [OpenAPI document](https://skmtc.dev/equipmentshare/apis/es-api/revisions/40651e1558ac?raw)
