---
title: "POST /v4/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors"
method: POST
path: "/v4/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors"
tags: ["inventorySources"]
---

# POST /v4/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors

`POST /v4/inventorySources/{+inventorySourceId}:editInventorySourceReadWriteAccessors`

Edits read/write accessors of an inventory source. Returns the updated read_write_accessors for the inventory source.

## Path parameters

- `inventorySourceId` string, required

## Request body

- EditInventorySourceReadWriteAccessorsRequest — Request message for InventorySourceService.EditInventorySourceReadWriteAccessors.
  - `assignPartner` boolean — Set the partner context as read/write accessor of the inventory source. This will remove all other current read/write advertiser accessors.
  - `partnerId` string, int64 — Required. The partner context by which the accessors change is being made.
  - `advertisersUpdate` EditInventorySourceReadWriteAccessorsRequestAdvertisersUpdate — Update to the list of advertisers with read/write access to the inventory source.
    - `removedAdvertisers` string[] — The advertisers to remove.
    - `addedAdvertisers` string[] — The advertisers to add.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/displayvideo.md) · [All operations](https://skmtc.net/google/apis/displayvideo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/displayvideo/versions/68b64e49eced/schema)
