Handle delete topics
Can I delete the topic using a curl even if we have subscribers added to the topic?
6 Replies
Hi @ManwinderSingh, I'm an AI assistant for Novu. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Ask Inkeep with any follow-up questions.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Delete topic
* Subscribers removal
* Subscribers addition
* Topics
-----------------------------
Answer
No, you cannot directly delete a topic if it has subscribers added to it. You must first remove all subscribers from the topic before you can delete it using a curl command (1) .
@ManwinderSingh
Yes topic can be deleted
Are you facing any issue?
Able to delete the topic but the doc says that we need to clear the topic first to delete it
Let me check 🙂
@ManwinderSingh
Sorry, yes our doc is correct
I got this error while deleting a topic with subscribers added
😦