HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation deletes a space membership in the HumHub platform. It is useful for removing a user's membership from a specific space, effectively revoking their access and participation rights within that space. For example, an admin can use this operation to remove a user from a project space when they no longer need access.

Use Case Examples

  1. Remove a user from a project space by specifying the space ID and the user ID to delete their membership.
  2. Automate cleanup of space memberships by deleting users who are no longer part of the organization.

Properties

Name Meaning
Authentication Method of authentication to use for the API request (Basic Auth or JWT Token).
ID The ID of the space from which the membership will be deleted.
User ID The ID of the user whose membership in the space will be deleted.

Output

JSON

  • id - The ID of the space from which the membership was deleted.
  • userId - The ID of the user whose membership was deleted.
  • status - The status or result of the delete operation, typically indicating success or failure.

Dependencies

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

Troubleshooting

  • Ensure that the space ID and user ID are correct and exist in the HumHub system to avoid errors.
  • Authentication errors may occur if the provided credentials are invalid or expired; verify and update credentials as needed.
  • API rate limits or permissions may prevent deletion; ensure the authenticated user has sufficient rights to delete space memberships.

Links

Discussion