GymControl icon

GymControl

Handle your GymControl instance

Actions91

Company Info → Delete

AI-generated

Overview

This node integrates with the GymControl API to manage various resources related to a gym management system. Specifically, for the Company Info resource with the Delete operation, it allows users to delete a company information record by its unique identifier. This is useful in scenarios where outdated or incorrect company data needs to be removed from the system.

Practical examples include:

  • Removing a company profile that is no longer active.
  • Cleaning up test or duplicate company entries.
  • Automating company info lifecycle management within a larger workflow.

Properties

Name Meaning
Show Complete Response Boolean option to return the full API response instead of just the main data output.
ID The unique identifier of the company info record to delete.

Output

The node outputs JSON data representing the response from the GymControl API after attempting to delete the specified company info record. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only the essential result data 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 and authentication token must be configured in the node credentials.
  • The node makes HTTP DELETE requests to the GymControl API endpoint corresponding to company info records.

Troubleshooting

  • Common issues:

    • Invalid or missing ID parameter will cause the deletion to fail.
    • Authentication errors if the API key is invalid or missing.
    • Network connectivity problems preventing access to the GymControl API.
    • Attempting to delete a non-existent company info record may result in an error or empty response.
  • Error messages and resolutions:

    • 401 Unauthorized: Check that the API key credential is correctly set and has proper permissions.
    • 404 Not Found: Verify the ID corresponds to an existing company info record.
    • 400 Bad Request: Ensure the ID parameter is correctly formatted and not empty.
    • Network errors: Confirm network connectivity and that the API URL is reachable.

Links and References

Discussion