Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Log de Erro → Limpar Antigos

AI-generated

Overview

This node interacts with the Press Ticket® API to manage error logs, specifically providing the operation to clean up old error logs. It is useful for maintaining the error log storage by removing outdated entries, which helps in managing system performance and storage space.

Use Case Examples

  1. Automatically clean up old error logs periodically to keep the system optimized.
  2. Use in workflows to clear error logs after a certain period or after resolving issues.

Output

JSON

  • success - Indicates if the cleanup operation was successful
  • response - Response data from the API after cleanup operation

Dependencies

  • Press Ticket® API with an API token for authentication

Troubleshooting

  • Ensure the API token credential is correctly configured and has the necessary permissions to delete error logs.
  • If the cleanup operation fails, check the API response for error messages indicating issues such as network problems or insufficient permissions.

Discussion