Deletes a specific equipment entry from a gym.
| Permission | Description |
|---|---|
gym_equipment.delete | Delete equipment from your own gyms |
gym_equipment.delete_any | Delete equipment from any gym |
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| gym-id | int | Yes | ID of the gym | 123 |
| gym-equipment-id | int | Yes | ID of the gym equipment | 55 |
DELETE /api/v1/gyms/123/equipment/55
Authorization: Bearer {token}
No content is returned when the equipment is successfully deleted.
| Status | Description | Reference |
|---|---|---|
| 401 | Unauthorized | Authentication error |
| 403 | Forbidden (no permission) | Permission error |
| 404 | Not found | Not-found error |