Basecamp icon

Basecamp

Interact with Basecamp API

Actions119

Template → Trash a Template

AI-generated

Overview

This node operation allows users to trash (delete) a specific template in the Basecamp system by providing the template's ID. It is useful for managing templates by removing those that are no longer needed or relevant. For example, a user can automate the cleanup of outdated templates in their Basecamp account.

Use Case Examples

  1. Trash a template by specifying its templateId to remove it from the Basecamp account.
  2. Use the 'Return Full Response' option to get detailed API response including status code and headers.

Properties

Name Meaning
templateId The unique identifier of the template to be trashed, used in the API endpoint path.
Return Full Response Whether to return the full API response including status code, headers, and body instead of only the response body.
Request Options Additional HTTP request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • statusCode - HTTP status code of the API response (if full response is returned).
  • headers - HTTP headers of the API response (if full response is returned).
  • body - The main content of the API response, typically the result of the trash template operation.

Dependencies

  • Basecamp API with OAuth2 authentication

Troubleshooting

  • Ensure the templateId provided is valid and exists in the Basecamp account to avoid 'not found' errors.
  • If the API returns an authentication error, verify that the OAuth2 credentials are correctly configured and have the necessary permissions.
  • Timeout errors can occur if the server is slow to respond; adjust the timeout setting in Request Options if needed.
  • If SSL certificate validation fails and you trust the endpoint, enable 'Ignore SSL Issues' to bypass the error.

Links

Discussion