channels
channels
channel-accounts

Share Account With Workspace

Share a channel account with a team workspace via channel_workspace_shares.

Only the account owner (app_user_id) may call this endpoint. share_with_workspace=True inserts into channel_workspace_shares (idempotent). share_with_workspace=False returns 400 — use DELETE /shares/{target_workspace_id} instead.

channel_account.workspace_id is NEVER mutated by this endpoint.

Args: channel: Channel name account_id: Account to share request: Share configuration (share_with_workspace must be True)

Returns: Share status

patch/api/channels/{channel}/accounts/{account_id}/workspace

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/channels/{channel}/accounts/{account_id}/workspace
  • Auth: none declared

Path parameters

channelstring required
account_idstring required

Request body

share_with_workspaceboolean required
target_workspace_idinteger nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 5 revisions of this API.