---
title: "Update company preference settings for an application."
method: POST
path: "/applications/clients/{cid}/settings/companies/{cpid}"
tags: ["APIApplication"]
---

# Update company preference settings for an application.

`POST /applications/clients/{cid}/settings/companies/{cpid}`

This API is only usable with an OAuth token and only by the current user or admin. 
* Add or update a setting identified by key with value. 
* Operation and field may optionally be specified when updating Map type settings. 
* Field specifies the key of the setting Map to update. 
* Operation may be one of: 
    * `ADD`: Add or update an existing field of the settings Map. 
    * `UPDATE`: Update an existing field of the settings Map and return an error if the field does not exist. 
    * `REMOVE`: Remove the field from the settings Map.

## Path parameters

- `cpid` string, required
- `cid` string, required

## Response `default`

default response

---

[API](https://skmtc.net/onshape/apis/onshape-rest-api.md) · [All operations](https://skmtc.net/onshape/apis/onshape-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onshape/onshape-rest-api/revisions/aaa3e1322450/schema)
