# Leave a tournament

`DELETE https://api.cryptohopper.com/v1/tournaments/{tournament_id}/join`

Part of [Tournaments](https://www.cryptohopper.com/api-documentation/api-reference/tournaments.md) in the Cryptohopper API reference.

Removes you from a tournament. This is only possible before the tournament starts.

OAuth scope: `manage`

Returns 401 once the tournament has started.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `tournament_id` | string | yes | Numeric ID of the tournament. |

## Example request

```bash
curl -X DELETE "https://api.cryptohopper.com/v1/tournaments/TOURNAMENT_ID/join" \
  -H "access-token: YOUR_ACCESS_TOKEN"
```

## Response

Example response (illustrative values):

```json
{
    "data": "You left the tournament."
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
