---
title: "Upsert a channel-permission matrix cell"
method: PUT
path: "/v1/channel-permission-overrides"
tags: ["channel-permission-overrides"]
---

# Upsert a channel-permission matrix cell

`PUT /v1/channel-permission-overrides`

Upserts one cell, identified by the selector × contact-type in the body. The adapter must be a known channel id.

## Request body

- object
  - `selector` union, required
    - object
      - `scope` 'workspace', required
    - object
      - `scope` 'adapter', required
      - `adapter` string, required
    - object
      - `scope` 'channel_type', required
      - `adapter` string, required
      - `channelType` 'dm' | 'private' | 'public', required
    - object
      - `scope` 'channel', required
      - `adapter` string, required
      - `channelExternalId` string, required
  - `contactType` 'guardian' | 'trusted_contact' | 'unverified_contact' | 'unknown', required
  - `threshold` 'none' | 'low' | 'medium' | 'high', required
  - `note` string, nullable

## Response `200`

Successful response

- object
  - `cell` object, required
    - `selector` union, required
      - object
        - `scope` 'workspace', required
      - object
        - `scope` 'adapter', required
        - `adapter` string, required
      - object
        - `scope` 'channel_type', required
        - `adapter` string, required
        - `channelType` 'dm' | 'private' | 'public', required
      - object
        - `scope` 'channel', required
        - `adapter` string, required
        - `channelExternalId` string, required
    - `contactType` 'guardian' | 'trusted_contact' | 'unverified_contact' | 'unknown', required
    - `threshold` 'none' | 'low' | 'medium' | 'high', required
    - `note` string, nullable
    - `updatedAt` number, required

---

[API](https://skmtc.net/vellum-ai/apis/vellum-gateway-api.md) · [All operations](https://skmtc.net/vellum-ai/apis/vellum-gateway-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vellum-ai/vellum-gateway-api/revisions/5f280bce8b2e/schema)
