dambel

دمبل

shevron
ورود | ثبت نام

API Docs / gyms / delete



DELETE /api/v1/gyms/{gym-id}

Deletes a gym by its ID. Normal users can delete their own gyms, while admins can delete any gym.


Permissions

PermissionDescription
gyms.deleteDelete your own gym
gyms.delete_anyDelete any gym (admin only)

Path Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym to delete123

Response

204 No Content

Gym was successfully deleted. No response body is returned.


Error Responses

StatusDescriptionReference
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error
footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube