Login | Sign Up
  • FA
  • EN

API Docs

DELETE /api/v1/admin/equipment/{equipment-id}

Delete an equipment item. Optionally transfer attached data to another equipment.


Permissions

PermissionDescription
equipment.view_allAccess equipment
equipment.deleteDelete equipment

Request Body Parameters

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

Response

204 No Content

No content is returned when the equipment is deleted successfully.


Error Responses

StatusDescriptionReference
400When equipment 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