# End a call

`POST https://rest.wordplus.cloud/wordplus/realtime/calls/{name}/end`

Ends a group call for everyone in it. The tokens signed before do not open it again.

In the packages: `realtime.call( name ).end()`.

## Parameters

| Name | In | |
|---|---|---|
| `name` (required) | path | The group call name, percent-encoded: `meeting:7` is `meeting%3A7`. |

## Answer

Done.

```json
{
  "ok": true
}
```

## Refusals

- **400**: `bad_request`, `bad_room`: the request is not one the API takes. `reserved`: an event name kept for the room itself.
- **401**: `missing_signature`, `stale_signature` (a clock off by more than 5 minutes), `unknown_site`, `bad_signature` (a wrong secret, or a body or path other than the one signed).
- **403**: `not_included`: your plan does not include it.

## Examples

`wordplus()` (in Go `app.Request()`) signs and sends the request: https://docs.wordplus.cloud/api/signing/ has it in each language.

**curl**

```bash
wordplus POST '/wordplus/realtime/calls/meeting%3A7/end'
```

**Node**

```js
await wordplus('POST', `/wordplus/realtime/calls/${encodeURIComponent('meeting:7')}/end`);
```

**Python**

```python
wordplus("POST", f"/wordplus/realtime/calls/{quote('meeting:7', safe='')}/end")
```

**PHP**

```php
wordplus('POST', '/wordplus/realtime/calls/'.rawurlencode('meeting:7').'/end');
```

**Go**

```go
_, err := app.Request("POST", "/wordplus/realtime/calls/"+url.PathEscape("meeting:7")+"/end", nil)
```

