# Delete Gym **DELETE /gym/{gym_id}** Deletes whole gym along with all visits. Do not use this endpoint unless you are sure. You can only delete gym if you're admin. ## Servers - http://63.141.232.244:25540/v0: http://63.141.232.244:25540/v0 () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **gym_id** (integer) Id of the gym in database (retrieved using GET /gym) ## Responses ### 200 Successful gym deletion. #### Body: application/json (object) - **success** (boolean) Whether gym is deleted ### 400 Validation error of given input. #### Body: application/json (object) - **success** (boolean) Whether query is successful - **error** (array[object]) ### 401 User is not unauthorized or permissions are missing. #### Body: application/json (object) - **success** (boolean) Whether query is successful - **error** (string) Error message ### 429 Rate limit exceeded - 100 queries per 15 minutes. #### Body: application/json (object) - **success** (boolean) Whether query is successful - **error** (string) Error message [Powered by Bump.sh](https://bump.sh)