---
title: "Delete a gym"
method: DELETE
path: "/api/gyms/{gymId}"
tags: ["Gyms"]
---

# Delete a gym

`DELETE /api/gyms/{gymId}`

## Request

- Base URL: `https://api.gymflexa.com`
- URL: `https://api.gymflexa.com/api/gyms/{gymId}`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`

Requires the `gyms:write` scope.

## Path parameters

- `gymId` string, required

## Response `200`

The deleted gym

---

[API](https://skmtc.dev/gymflexa/apis/gymflexa-api.md) · [All operations](https://skmtc.dev/gymflexa/apis/gymflexa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gymflexa/apis/gymflexa-api/revisions/23c38326a799?raw)
