---
title: "Update `value` only"
method: PUT
path: "/configuration"
tags: ["v1"]
deprecated: true
---

# Update \`value\` only

`PUT /configuration`

## Request

- Base URL: `` (relative, and it does not resolve against the document’s source URL)
- URL: `/configuration`
- Auth: one of:
  - API key in header `sessionKey`
  - API key in header `clientCode`
  - API key in header `hmac-auth`
  - API key in header `jwt`
- TypeScript: <https://skmtc.dev/erply/apis/cafa-api/docs/configuration/put.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

`level`, `level_id` and `type` are optional fields.

## Headers

- `timestamp` string

## Request body

- ConfigurationRequest
  - `application` string: Application (s) name that uses CAFA to store configs, application name has to be generated manually before it can be used in Identity Admin.
  - `level` string: Level is the operating level where the config will be stored. Has to be one of Company, Warehouse, Pos, User
  - `level_id` string: LevelID is a unique value, used to identify the instance of the level. for User level, user id for Pos - Point of Sale ID. Each Pos belongs to Warehouse. When we query CAFA for configuration on level: 'Pos', and add 'Look-Deeper: true' header, if CAFA dooes not find any configuration with the query parameters, CAFA will use the level_id(PointOfSaleID), to find which Warehouse the Pos belongs to and check for configuration with the same name(and type if present) Warehouse can use any unique string to identify the instance of its level, because the higher level for each Warehouse is Company level, which can only be one instance per account Company level does not need level_id because there can only be one company per account in Erply.
  - `name` string: Name of the configuration
  - `type` string: Type is an optional grouping property, in this case its 'payment', indicating that this configuration belongs to payment integrations group used to query groups of related configurations
  - `value` unknown

## Response `201`

Created

- Response
  - `id` integer
  - `message` string
  - `statusCode` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

---

[API](https://skmtc.dev/erply/apis/cafa-api.md) - [All operations](https://skmtc.dev/erply/apis/cafa-api/llms.txt) - [OpenAPI document](https://skmtc.dev/erply/apis/cafa-api/revisions/dc9468557835?raw)
