Actions20
Overview
This node interacts with the MOCO API to manage User resources, specifically supporting the deletion of a user by their User ID. It is useful in scenarios where automated workflows need to remove user accounts from the MOCO system, such as cleaning up inactive users or managing user lifecycle in an integrated environment.
Use Case Examples
- Deleting a user from MOCO by specifying their User ID to automate user management processes.
- Removing users who no longer require access to the system as part of an HR offboarding workflow.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user to be deleted. This is a required string input used to specify which user to delete. |
Output
JSON
id- The unique identifier of the deleted user.firstname- The first name of the deleted user.lastname- The last name of the deleted user.email- The email address of the deleted user.unit_id- The unit or team ID the deleted user belonged to.active- Indicates if the user was active before deletion.external- Indicates if the user was an external user before deletion.
Dependencies
- MOCO API with an API key credential for authentication
Troubleshooting
- Ensure the User ID provided is correct and exists in the MOCO system to avoid 'not found' errors.
- Check API credentials and permissions to confirm the node has rights to delete users.
- If the node throws an error about missing parameters, verify that the User ID is provided and is not empty.
Links
- MOCO API User Documentation - Official MOCO API documentation for user management endpoints, including deletion.