Keitaro icon

Keitaro

Работа с API Keitaro

Пользователь → Удалить

AI-generated

Overview

This node interacts with the Keitaro API to perform operations on various resources, including users. Specifically, for the 'Пользователь' (User) resource and the 'Удалить' (Delete) operation, it deletes a user by their ID. This is useful for managing user data within Keitaro, such as removing obsolete or unwanted user records.

Use Case Examples

  1. Deleting a user by specifying their user ID to clean up the user database.
  2. Automating user management workflows by integrating user deletion into a larger automation process.

Properties

Name Meaning
ID Пользователя The unique identifier of the user to be deleted. This is required for the delete operation on the user 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 user deletion).
    • headers - Headers sent with the API request, including API key and content type.
  • resource - The resource type involved in the operation, here it is 'user'.
  • 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 the delete operation.

Dependencies

  • Keitaro API with domain and API key credentials

Troubleshooting

  • Ensure the user ID is provided and correctly formatted; missing or invalid IDs will cause errors.
  • Verify that the API key and domain credentials are correctly set up and valid.
  • Check for API response errors indicating permission issues or resource not found.
  • If the API returns a status code outside the 200-299 range, the node throws an error with the status code and message.

Discussion