v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Emails::Topic

Update Email Topic

Update an email topic

patch/emails/topics/{id}

Path parameters

idstring required

Request body

Example request

{
  "emails_topic": {
    "emails_topic": {
      "name": "Renamed Topic",
      "description": "Updated description"
    }
  }
}

Response

OK

idinteger

Topic ID

public_idstring nullable

Topic public ID

workspace_idinteger

Workspace ID

namestring

Topic name

descriptionstring nullable

Topic description

created_atstring date-time nullable

Created at datetime

updated_atstring date-time nullable

Updated at datetime

Example response

{
  "id": 1,
  "public_id": "StUvWx",
  "workspace_id": 42000,
  "name": "Product Updates",
  "description": "Updates about our products",
  "created_at": "2025-01-01T00:00:00.000Z",
  "updated_at": "2025-01-01T00:00:00.000Z"
}