Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to perform various operations on different resources, including groups. Specifically, for the 'Группа' (Group) resource and the 'Удалить' (Delete) operation, it deletes a group by its ID. This is useful for managing groups within the Keitaro platform, such as removing obsolete or unwanted groups programmatically.

Use Case Examples

  1. Deleting a group by specifying its ID to clean up unused groups in Keitaro.
  2. Automating group management by deleting groups based on certain workflow conditions.

Properties

Name Meaning
ID Группы The unique identifier of the group to be deleted. This is required for the delete operation on the group resource.

Output

JSON

  • request
    • url - The URL of the API request made to Keitaro.
    • method - The HTTP method used for the API request (DELETE for delete operation).
    • headers - Headers sent with the API request, including API key and content type.
  • resource - The resource type involved in the operation, here it is 'group'.
  • operation - The operation performed, here it is 'delete'.
  • success - Boolean indicating if the delete operation was successful.
  • data - The response data from the Keitaro API after deleting the group.

Dependencies

  • Keitaro API with domain and API key credentials

Troubleshooting

  • Ensure the group ID is provided and valid; missing or invalid ID will cause errors.
  • Verify that the API key and domain credentials are correctly set up; missing credentials will prevent API access.
  • Check API response status codes; non-2xx responses indicate failure and include error messages from the API.
  • If the node fails but continueOnFail is enabled, error details are returned in the output for debugging.

Links

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

Discussion