Deletes a check-in record from a gym subscription.
| Permission | Description |
|---|---|
gym_subscription_checkins.delete | Delete check-ins for your own gyms |
gym_subscription_checkins.delete_any | Delete check-ins for any gym |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| gym-id | int | Yes | ID of the gym | 123 |
| subscription-id | int | Yes | ID of the subscription | 456 |
| checkin-id | int | Yes | ID of the check-in | 789 |
DELETE /api/v1/gyms/123/subscriptions/delete-checkin/456/789
Authorization: Bearer {token}
No content is returned when the check-in is successfully deleted.
| Status | Description | Reference |
|---|---|---|
| 404 | Not found (invalid gym, subscription, or check-in) | |
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |