Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Overview

This node interacts with the Discuss Kit API to manage various content types including blogs, discussions, bookmarks, documents, comments, labels, boards, and search queries. Specifically for the Blog - Delete operation, it deletes a blog post identified by its unique Content ID. This is useful in scenarios where you want to programmatically remove outdated or unwanted blog posts from your Discuss Kit-powered platform.

Practical examples:

  • Automatically deleting blog posts that are no longer relevant.
  • Cleaning up test or draft blog entries after publishing.
  • Integrating blog deletion into a larger workflow that manages content lifecycle.

Properties

Name Meaning
Content ID The unique identifier of the blog post to delete.

Output

The output JSON contains the response from the Discuss Kit API after attempting to delete the specified blog post. Typically, this will be an empty object or confirmation of deletion depending on the API's response. No binary data is returned.

Example output structure (conceptual):

{}

Dependencies

  • Requires access to the Discuss Kit API endpoint.
  • Needs an API authentication token configured in n8n credentials to authorize requests.
  • Uses internal helper function to make HTTP DELETE requests to /api/blogs/{id}.

Troubleshooting

  • Common issues:

    • Invalid or missing Content ID: The node requires a valid blog post ID; ensure the ID exists and is correct.
    • Authentication errors: Verify that the API key or token is correctly set up and has permissions to delete blog posts.
    • Network or API downtime: Check connectivity and Discuss Kit service status.
  • Error messages:

    • "404 Not Found": The blog post with the given ID does not exist. Confirm the ID is correct.
    • "401 Unauthorized" or "403 Forbidden": Authentication failed or insufficient permissions. Recheck API credentials.
    • "400 Bad Request": Possibly malformed request parameters. Ensure the Content ID is properly formatted.

Resolving these typically involves verifying input parameters, checking API credentials, and ensuring the Discuss Kit service is operational.

Links and References

Discussion