GymControl icon

GymControl

Handle your GymControl instance

Actions91

Topic → Delete

AI-generated

Overview

This node integrates with the GymControl API to manage various resources related to a gym management system. Specifically, for the Topic - Delete operation, it allows users to delete a notification topic by its unique identifier. This is useful when you want to remove outdated or irrelevant notification topics from your GymControl instance.

Practical examples include:

  • Cleaning up notification topics that are no longer used.
  • Removing topics related to discontinued classes or events.
  • Managing notification settings dynamically based on gym operations.

Properties

Name Meaning
Show Complete Response If enabled, the node will return the full API response after deleting the topic.
ID The unique identifier of the topic to be deleted. This is required to specify which topic to remove.

Output

The node outputs JSON data representing the response from the GymControl API after attempting to delete the specified topic. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only essential confirmation data may be output.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the GymControl API.
  • The base URL for the API is configured via credentials.
  • The node sends HTTP DELETE requests to the endpoint /notification/topics/{id} where {id} is the topic ID.

Troubleshooting

  • Invalid or missing ID: If the topic ID is not provided or incorrect, the API will likely return an error indicating the topic was not found. Ensure the ID is correct and exists in the GymControl system.
  • Authentication errors: If the API key credential is invalid or missing, authentication will fail. Verify that the API key is correctly set up in the node credentials.
  • Permission issues: The API user must have sufficient permissions to delete topics. Lack of permissions will result in authorization errors.
  • Network or connectivity problems: Ensure the base URL and network access to the GymControl API are properly configured.

Links and References

  • GymControl API documentation (for notification topics): GymControl API Docs (hypothetical link as actual URL is not provided)

Discussion