## Remove Game from Campaign

This endpoint removes a game from a campaign.

A game cannot be removed if any of the following conditions are met:

* the campaign is ended or disabled
* the campaign contains only one game
* the game has already been used within the campaign


**API Call Sample:**

```shell curl
curl -i -X DELETE \
  -u '<username>:<password>' \
  https://asia.stage.rubyplay.io/api/v1/campaign/123/game/rp_140
```

```json 401 application/json
{
  "code": "NOT_AUTHORIZED",
  "message": "Authentication failed",
  "timestamp": "2026-01-25T14:30:00Z",
  "path": "/api/v1/campaign/{campaignId}/game/{gameId}"
}
```

```json 403 application/json
{
  "code": "INSUFFICIENT_SCOPE",
  "message": "Insufficient scope to access this resource. Required: campaign:delete",
  "timestamp": "2026-01-25T14:30:00Z",
  "path": "/api/v1/campaign/{campaignId}/game/{gameId}"
}
```

```json 500 application/json
{
  "code": "UNKNOWN_ERROR",
  "message": "Something went wrong",
  "timestamp": "2026-01-25T14:30:00Z",
  "path": "/api/v1/campaign/{campaignId}/game/{gameId}"
}
```

```json 504 application/json
{
  "code": "TIMEOUT",
  "message": "The server did not respond within the expected time",
  "timestamp": "2026-01-25T14:30:00Z",
  "path": "/api/v1/campaign/{campaignId}/game/{gameId}"
}
```