GymControl icon

GymControl

Handle your GymControl instance

Actions91

Overview

This node integrates with the GymControl API to manage gym-related data. Specifically, the "License" resource with the "Delete" operation allows users to delete a license record by its ID. This is useful for scenarios where licenses need to be revoked or removed from the system, such as when a membership expires or is canceled.

Practical examples:

  • Automatically removing expired licenses from your gym management system.
  • Cleaning up licenses that were created in error.
  • Integrating with other workflows to maintain up-to-date license records.

Properties

Name Meaning
Show Complete Response Boolean option to return the full API response instead of just the success confirmation.
ID The unique identifier of the license to delete (required).

Output

The node outputs JSON data representing the result of the delete operation. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, a simplified confirmation or status message is provided.

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 corresponding to the license ID.

Troubleshooting

  • Common issues:

    • Invalid or missing license ID will cause the deletion to fail.
    • Authentication errors if the API key is incorrect or missing.
    • Network connectivity problems preventing access to the GymControl API.
  • Error messages and resolutions:

    • "License not found": Verify the license ID exists before attempting deletion.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly set up.
    • Timeout or network errors: Ensure the API URL is reachable and there are no firewall restrictions.

Links and References

Discussion