Clockify Enhanced icon

Clockify Enhanced

Consume Clockify REST API

Actions4

Project Membership → Remove

AI-generated

Overview

This node interacts with the Clockify API to manage project memberships within a workspace. Specifically, the "Remove" operation under the "Project Membership" resource allows users to remove one or more users from a specified project in a given workspace.

Common scenarios for this node include:

  • Automating user access management by removing users who no longer need access to a project.
  • Integrating with HR or project management systems to sync project membership changes.
  • Cleaning up project memberships as part of offboarding workflows.

For example, if a team member leaves a project, this node can be used to programmatically remove their access from the project in Clockify without manual intervention.

Properties

Name Meaning
Workspace Name or ID Select or specify the workspace where the project exists.
Project Name or ID Select or specify the project from which users will be removed.
User Names or IDs Select or specify one or more users to remove from the project membership.

Output

The node outputs JSON data representing the response from the Clockify API after attempting to remove the specified users from the project membership. The structure typically includes details about the updated memberships or confirmation of removal.

If multiple input items are processed, the output is an array of such JSON objects, each corresponding to an input item.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Clockify API via an API key credential configured in n8n.
  • The node depends on the Clockify REST API endpoints for workspaces, projects, and project memberships.
  • Proper permissions on the Clockify account to modify project memberships are necessary.

Troubleshooting

  • Common Issues:

    • Invalid workspace or project ID: Ensure that the workspace and project identifiers are correct and accessible.
    • User IDs not found or not members of the project: Verify that the user IDs specified actually belong to the project before attempting removal.
    • Insufficient permissions: The API key used must have rights to modify project memberships.
  • Error Messages:

    • "error": "User not found" or similar indicates that one or more user IDs do not exist or are not part of the project.
    • "error": "Unauthorized" suggests issues with API credentials or permissions.
  • Resolution:

    • Double-check all IDs and ensure they are valid.
    • Confirm API credentials and permissions.
    • Use the node's load options to select valid workspaces, projects, and users to minimize errors.

Links and References

Discussion