ورود | ثبت نام
  • FA
  • EN

API Docs

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

Deletes an admin from a gym by their ID.


Permissions

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

Path Parameters

NameTypeRequiredDescriptionExample
gym-idintYesID of the gym123
admin-idintYesID of the admin to delete5

Response

204 No Content

Admin 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

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

LinkedinInstagramXYoutubeTelegram