---
title: "Update a workspace connector"
method: PATCH
path: "/v1/workspaces/{workspaceId}/connections/{connectionId}"
tags: ["Workspaces"]
---

# Update a workspace connector

`PATCH /v1/workspaces/{workspaceId}/connections/{connectionId}`

Admin+. Currently supports toggling `agent_query_enabled` for the workspace assistant.

## Request body

- object
  - `agent_query_enabled` boolean

## Response `200`

Updated

## Other responses

- `403` — Access denied

---

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