# cloud_api_client: Add update_system_settings \(\#56843\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/62c01be72eb72b4a87f13d1fcdb8217a077950e9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 62c01be72eb72b4a87f13d1fcdb8217a077950e9

Requested commit: 62c01be72eb72b4a87f13d1fcdb8217a077950e9

Commit: 62c01be72eb72b4a87f13d1fcdb8217a077950e9

Tree: f587cb5b8236d7b9e4a937fd9e50e107055e617e

Author: Tom Houlé

Committer: GitHub

## Message

```
cloud_api_client: Add update_system_settings (#56843)

Wire up the client side of the new `PATCH /client/system_settings`
endpoint added in zed-industries/cloud#2444, so we can persist the
currently selected organization on a per-system basis. This PR only adds
the request types and the client method; hooking it up to the actual
organization switcher in the editor will come next.

The endpoint requires the `x-zed-system-id` header (the server returns
400 without it), so the method does not take an Option like the other
client calls.

Release Notes:

- N/A
```

## Parents

- [8ce894b909ec3cbbb84e1bc8eedc542a5f975c61](https://git.cafe/gitcafe/zed/commit/8ce894b909ec3cbbb84e1bc8eedc542a5f975c61?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/62c01be72eb72b4a87f13d1fcdb8217a077950e9?format=markdown)
