TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node interacts with the Twenty API to manage workspace members. Specifically, the "Delete One Workspace Member" operation allows users to remove a member from a workspace by specifying the member's unique identifier. This is useful in scenarios where you need to revoke access or clean up workspace memberships programmatically.

Practical examples include:

  • Automating user management workflows by removing inactive or unauthorized members.
  • Integrating workspace membership control into broader team management systems.
  • Cleaning up workspace members as part of project archival or offboarding processes.

Properties

Name Meaning
Id The unique identifier of the workspace member to delete. This is a required string value representing the object id of the member.

Output

The node outputs JSON data reflecting the result of the deletion request. Typically, this will confirm whether the deletion was successful or provide error details if it failed. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the Twenty API.
  • The node uses the base URL and headers configured via credentials, including Accept: application/json and Content-Type: application/json.
  • The bundled code depends on an OpenAPI specification (twenty-v1.0.3-openapi.json) and a helper library for building properties and making requests.

Troubleshooting

  • Invalid or missing Id: If the provided Id is incorrect or not found, the API will likely return an error indicating the member does not exist. Verify the Id before running the node.
  • Authentication errors: Ensure the API key credential is correctly set up and has sufficient permissions to delete workspace members.
  • Network or API errors: Check connectivity and API status if requests fail unexpectedly.
  • Permission issues: The authenticated user must have rights to delete members; otherwise, the API will reject the request.

Links and References

Discussion