MOCO icon

MOCO

Consume MOCO API

Overview

This node integrates with the MOCO API to manage activities within the MOCO platform. Specifically, the 'Delete' operation under the 'Activity' resource allows users to delete an existing activity by specifying its Activity ID. This is useful for automating the removal of outdated or incorrect activity records in project management or time tracking workflows.

Use Case Examples

  1. Automatically delete an activity when a related project is cancelled.
  2. Remove time tracking entries that were logged by mistake.

Properties

Name Meaning
Activity ID The unique identifier of the activity to be deleted. This is a required field for the delete operation.

Output

JSON

  • id - The ID of the deleted activity, confirming successful deletion.
  • status - The status or response from the API indicating the result of the delete operation.

Dependencies

  • Requires an API key credential for authenticating with the MOCO API.

Troubleshooting

  • If the specified Activity ID does not exist, the API will return an error indicating the activity was not found. Verify the ID before attempting deletion.
  • Ensure the API credentials are valid and have sufficient permissions to delete activities.
  • Network or API downtime may cause request failures; retry or check MOCO API status if errors persist.

Links

Discussion