Mail API reference

Mail API · Topics

delete/v1/workspaces/{workspace_id}/topics/{topic_id}Auth

Delete a topic

Also deletes every contact's choice for it. Sends naming it are refused afterwards (`TOPIC_NOT_FOUND`).

Path parameters

workspace_id*string · uuid

Id of the workspace.

topic_id*string · uuid

Id of the topic.

Response · 204

Deleted.

Example

Request

DELETE https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/topics/{topic_id}
Authorization: Bearer YOUR_TOKEN