Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Update an existing topic

PATCH/topics/{id}Update an existing topic

Parameters

idstringpathrequired

The Topic ID.

Request body

application/json
objectUpdateTopicOptions
descriptionstring

A description of the topic. Max 200 characters.

maxLength 200

namestring

The name of the topic. Max 50 characters.

maxLength 50

visibilitystring

The visibility of the topic.

one of "public", "private"

Example request
{
  "description": "string",
  "name": "string",
  "visibility": "private"
}

Responses

200OKapplication/json
objectUpdateTopicResponseSuccess
idstring

The ID of the topic.

objectstring

The object type.

Example response
{
  "id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "object": "topic"
}
Documentation menu