DELETE /api/v1/admin/exercises/{exercise-id}Delete an exercise. Optionally transfer attached data to another exercise.
| Permission | Description |
|---|---|
exercises.view_all | Access exercises |
exercises.delete | Delete exercise |
| Name | Type | Required | Description |
|---|---|---|---|
replacement_id | integer | No | ID of another exercise to transfer attached data (optional) |
No content is returned when the exercise is deleted successfully.
replacement_id is not provided or is not valid. Number of attached items is returned in attached_data.