---
title: "Update shared orgs"
method: POST
path: "/tracking/devices/update_shared_orgs/v1"
tags: ["/tracking"]
---

# Update shared orgs

`POST /tracking/devices/update_shared_orgs/v1`

Adds and/or removes org_ids from a device's shared_with_org_ids list. Removal overrides addition. | auth: api_key | (DevicesUpdateSharedOrgsReq1) -> (bool)

## Request body

- DevicesUpdateSharedOrgsReq1
  - `device_id` string, required
  - `add_org_ids` string[]
  - `remove_org_ids` string[]

## Response `200`

Successful Response

- boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/chrt/apis/chrt-fastapi.md) · [All operations](https://skmtc.dev/chrt/apis/chrt-fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chrt/chrt-fastapi/revisions/ea04e157edb3/schema)
