
Qlynk - Delete Category
Use this tool to permanently delete a category by its code. This action cannot be undone. All statistics associated with this link will also be deleted.
Overview
This node, named 'Qlynk - Delete Category', is designed to permanently delete a category by its numeric ID (referred to as 'Short Code'). It is useful in scenarios where a user needs to remove a category and all associated statistics from the Qlynk system. For example, if a category is no longer relevant or was created in error, this node can be used to delete it irreversibly.
Use Case Examples
- Deleting a category with ID 1 to clean up unused categories.
- Removing a category that is no longer needed, ensuring all related statistics are also deleted.
Properties
| Name | Meaning |
|---|---|
| Short Code | The numeric ID of the category to delete, which is required and must be greater than 0. |
Output
JSON
success- Indicates whether the deletion was successful (true or false).category_id- The ID of the category attempted to be deleted.statusCode- HTTP status code returned by the delete operation, e.g., 404 if category not found.message- Additional message providing context, such as error details if the category was not found.
Dependencies
- Requires an API key credential for Qlynk API authentication to perform the delete operation.
Troubleshooting
- If the 'category_id' parameter is missing or less than or equal to 0, the node throws an error indicating the parameter is required and must be greater than 0.
- If the category ID does not exist, the node returns a JSON response with success set to false and a 404 status code indicating the category was not found.
- Users should ensure the API key credential is valid and has permissions to delete categories.
- If the node is set to continue on fail, errors will be caught and returned in the output JSON instead of stopping execution.