Discuss Kit icon

Discuss Kit

Consume Discuss Kit API

Discussion → Admin Delete

AI-generated

Overview

This node interacts with the Discuss Kit API to perform administrative deletion of comments associated with a specific user DID (Decentralized Identifier) within the Discussion resource. It is useful for scenarios where an admin needs to remove all comments made by a particular user, for example, to moderate content or enforce community guidelines.

Use Case Examples

  1. An admin wants to delete all comments made by a user identified by their DID to maintain community standards.
  2. Automated moderation workflows where comments from a flagged user are removed in bulk.

Output

JSON

  • error - Error message if the operation fails
  • id - Identifier of the deleted comment or confirmation of deletion

Dependencies

  • Discuss Kit API access with appropriate credentials

Troubleshooting

  • Ensure the user DID parameter is correctly provided; missing or incorrect DID will cause the deletion to fail.
  • API authentication errors may occur if credentials are not set or invalid.
  • Network issues can prevent the API request from completing successfully.

Links

Discussion