Skip to main content
patch/v2/topics/{topicKey}
Request example
Response
patch/v2/topics/{topicKey}

Authorization

Authorizationstringheaderrequired#
API key authentication. Allowed headers-- "Authorization: ApiKey <novu_secret_key>".

Path parameters

topicKeystringrequired#
The key identifier of the topic

Headers

idempotency-keystring#
A header for idempotency purposes

Body

application/json
namestring#
The display name for the topic

Length: 0–100

Example:"Updated Topic Name"

dataobject#
Additional custom data associated with the topic. Flat key-value pairs of scalars (string, number, boolean, string[]). Maximum size: 64KB. Pass null to clear.
Example:

Responses

application/json
OK
_idstringrequired#
The identifier of the topic

Example:"64da692e9a94fb2e6449ad06"

keystringrequired#
The unique key of the topic

Example:"product-updates"

namestring#
The name of the topic

Example:"Product Updates"

dataobject#
Additional custom data associated with the topic
Example:
createdAtstring#
The date the topic was created

Example:"2023-08-15T00:00:00.000Z"

updatedAtstring#
The date the topic was last updated

Example:"2023-08-15T00:00:00.000Z"