---
title: "Update connection settings (name)"
method: PATCH
path: "/v1/workspaces/{brandId}/email-connections/{connectionId}"
tags: ["email-connections"]
---

# Update connection settings (name)

`PATCH /v1/workspaces/{brandId}/email-connections/{connectionId}`

## Request

- Base URL: `https://api.dispatchtickets.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dispatchtickets.com/v1/workspaces/{brandId}/email-connections/{connectionId}`
- Auth: `bearer` (a scheme the document does not define)

## Path parameters

- `connectionId` string, required

## Request body

- UpdateConnectionDto
  - `name` string: Display name for the connection

## Response `200`

- EmailConnectionResponseDto
  - `id` string, required
  - `brandId` string, required
  - `name` string, required: Display name for the connection
  - `isPrimary` boolean, required: Whether this is the primary connection for outbound
  - `provider` 'GMAIL' | 'OUTLOOK', required
  - `email` string, required: Connected email address
  - `status` 'ACTIVE' | 'ERROR' | 'DISCONNECTED', required
  - `lastSyncAt` string, date-time
  - `errorMessage` string
  - `createdAt` string, date-time, required

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/82fc25ab859b?raw)
