Delete Topic
Delete a topic by ID.
DELETE
/topics/{topic_id}Requires a full_access API key.
Path Parameters
topic_idstringrequiredThe ID of the topic to delete.
Response Fields
objectstringAlways "topic".
idstringThe topic ID.
deletedbooleanAlways true.
curl -X DELETE 'https://api.postflare.app/topics/b2c3d4e5-f6a7-8901-bcde-f12345678901' \
-H 'Authorization: Bearer re_xxxxxxxxx'const response = await fetch(
'https://api.postflare.app/topics/b2c3d4e5-f6a7-8901-bcde-f12345678901',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer re_xxxxxxxxx',
},
}
);
const data = await response.json();Response
{
"object": "topic",
"id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
"deleted": true
}