JavaScript
import Migma from 'migma'; const migma = new Migma('YOUR_API_KEY'); const { data, error } = await migma.topics.remove('TOPIC_ID', 'PROJECT_ID');
{ "success": true, "data": { "id": "<string>", "deleted": true }, "error": "<string>" }
Delete a topic. Requires API key with AUDIENCE_WRITE.
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Topic ID
Project ID
Topic deleted
Show child attributes
Was this page helpful?