Basecamp icon

Basecamp

Interact with Basecamp API

Actions76

Overview

This node operation deletes a specific line from a Campfire chat within a Basecamp project. It is useful when you need to programmatically remove messages or lines from a Campfire chat, for example, to moderate content, clean up outdated information, or automate message management in your projects.

Practical examples include:

  • Automatically deleting system-generated messages after a certain period.
  • Removing erroneous or sensitive lines from a Campfire chat.
  • Integrating with other workflows that require cleanup of chat lines based on external triggers.

Properties

Name Meaning
Project ID The numeric ID of the Basecamp project (bucket) where the Campfire chat resides.
chatId The numeric ID of the Campfire chat from which a line will be deleted.
lineId The numeric ID of the specific Campfire line (message) to delete.
Return Full Response Boolean flag indicating whether to return the full HTTP response (status code, headers, body) or just the response body.

Output

The output contains a JSON object representing the response from the Basecamp API after attempting to delete the specified Campfire line.

  • If Return Full Response is set to false (default), the output includes only the response body, typically an empty object or confirmation of deletion.
  • If Return Full Response is set to true, the output includes the full HTTP response details such as status code, headers, and body, allowing more detailed inspection of the API call result.

No binary data is involved in this operation.

Dependencies

  • Requires an active connection to the Basecamp API using OAuth2 authentication with appropriate permissions to delete Campfire lines.
  • The node expects the Basecamp account ID to be configured in credentials to construct the API endpoint URL.
  • Network access to Basecamp's API endpoints is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing Project ID, chatId, or lineId can cause the API call to fail.
    • Insufficient permissions or expired authentication tokens may result in authorization errors.
    • Attempting to delete a non-existent line will likely return a 404 error.
  • Error messages and resolutions:

    • 401 Unauthorized: Check that the API credentials are valid and have not expired.
    • 404 Not Found: Verify that the Project ID, chatId, and lineId are correct and exist.
    • 403 Forbidden: Ensure the authenticated user has permission to delete lines in the specified Campfire chat.
    • 400 Bad Request: Confirm all required parameters are provided and correctly formatted.

Links and References

Discussion