Actions91
- Account Setting Actions
- Addon Actions
- Ceiling Actions
- Company Info Actions
- Device Actions
- Exercise Actions
- Feedback Actions
- File Actions
- File Type Actions
- Gender Actions
- Guest Actions
- License Actions
- Log Actions
- Payment Actions
- Permission Actions
- Relationship Actions
- Role Actions
- Service Actions
- Service Price Actions
- Social Actions
- Topic Actions
- User Actions
- Workout Execution Actions
- Worksheet Actions
Overview
This node integrates with the GymControl API to manage social entities within a gym management system. Specifically, the Delete operation under the Social resource allows users to remove a social record by its unique identifier. This is useful for maintaining up-to-date social links or profiles associated with gym members or the gym itself.
Typical use cases include:
- Removing outdated or incorrect social media links.
- Cleaning up social records when a member leaves the gym.
- Automating social data maintenance as part of broader gym management workflows.
Properties
| Name | Meaning |
|---|---|
| Show Complete Response | Boolean flag to determine if the full API response should be returned in the output. |
| ID | The unique identifier of the social record to delete. This is required for the operation. |
Output
The node outputs JSON data representing the response from the GymControl API after attempting to delete the specified social record. If "Show Complete Response" is enabled, the entire API response is returned; otherwise, only essential confirmation 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 for the API is configured via credentials.
- The node sends HTTP DELETE requests to the endpoint corresponding to the social entity identified by the given ID.
Troubleshooting
Common Issues:
- Providing an invalid or non-existent ID will likely result in an error or no deletion.
- Missing or incorrect API credentials will cause authentication failures.
- Network connectivity issues can prevent successful API calls.
Error Messages and Resolutions:
- 401 Unauthorized: Check that the API key credential is correctly set and has proper permissions.
- 404 Not Found: Verify that the ID corresponds to an existing social record.
- 400 Bad Request: Ensure the ID format is correct and all required parameters are provided.
- Network Errors: Confirm network access to the GymControl API endpoint.
Links and References
- GymControl API Documentation (hypothetical link)
- n8n HTTP Request Node documentation for understanding API call configurations.