Login | Sign Up
  • FA
  • EN

API Docs

DELETE /api/v1/admin/exercises/{exercise-id}

Delete an exercise. Optionally transfer attached data to another exercise.


Permissions

PermissionDescription
exercises.view_allAccess exercises
exercises.deleteDelete exercise

Request Body Parameters

NameTypeRequiredDescription
replacement_idintegerNoID of another exercise to transfer attached data (optional)

Response

204 No Content

No content is returned when the exercise is deleted successfully.


Error Responses

StatusDescriptionReference
400When exercise has data and replacement_id is not provided or is not valid. Number of attached items is returned in attached_data.
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub