HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation deletes a directory in the HumHub platform's CFile Directory resource. It is useful for automating the removal of directories within a container, such as cleaning up unused folders or managing file organization programmatically. For example, a user can specify the directory ID to delete a specific folder from a container in HumHub.

Use Case Examples

  1. Deleting a directory by specifying its ID to remove obsolete or unwanted folders from a container in HumHub.
  2. Automating directory cleanup tasks in HumHub by deleting directories based on certain conditions or triggers.

Properties

Name Meaning
Authentication The method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The unique identifier of the directory to be deleted.

Output

JSON

  • id - The ID of the deleted directory or confirmation of deletion.
  • status - Status or response message from the delete operation.

Dependencies

  • Requires authentication credentials for HumHub API, either Basic Auth or JWT Token.

Troubleshooting

  • Common issues include providing an invalid or non-existent directory ID, which will result in an error from the HumHub API indicating the directory could not be found.
  • Authentication failures due to incorrect or missing credentials will prevent the delete operation from succeeding.
  • Network or API endpoint issues may cause the request to fail; ensure the HumHub API is accessible and the node is configured correctly.

Links

Discussion