Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to manage blacklist entries. Specifically, the 'Удалить' (Delete) operation for the 'Блэклист' (Blacklist) resource allows users to delete a blacklist entry by its ID. This is useful for scenarios where you need to remove an IP address, user, or other entity from the blacklist to restore access or correct errors.

Use Case Examples

  1. Deleting a blacklist entry by specifying its ID to remove an IP address from the blacklist.
  2. Automating blacklist management by integrating with Keitaro API to delete entries based on certain conditions.

Properties

Name Meaning
ID Блэклиста The unique identifier of the blacklist entry to be deleted.

Output

JSON

  • request
    • url - The URL of the API request made to Keitaro.
    • method - The HTTP method used for the API request.
    • headers - Headers sent with the API request, with the API key masked.
  • resource - The resource type involved in the operation, here 'blacklist'.
  • operation - The operation performed, here 'delete'.
  • success - Indicates if the delete operation was successful.
  • data - The data returned from the API after the delete operation, typically confirmation of deletion.
  • error - Indicates if there was an error during the operation.

Dependencies

  • Requires an API key credential for Keitaro API access and the domain URL of the Keitaro instance.

Troubleshooting

  • Ensure the 'blacklistId' is provided and valid; missing or invalid ID will cause errors.
  • Verify that the API key and domain are correctly set in the credentials; missing credentials will prevent API access.
  • Check for proper permissions in the Keitaro API to allow deletion of blacklist entries.
  • API errors will include status codes and messages; review these to understand issues such as unauthorized access or resource not found.

Links

  • Keitaro API Documentation - Official documentation for the Keitaro API, useful for understanding available endpoints and operations.

Discussion