# Close a session

`DELETE /browser/sessions/{id}` · Rivier · search

Close a session.

- Scope: search:write
- Mcp: rivier_browse_close
- Graphql: Mutation.searchBrowserClose
- Sdk: search.browser.close
- Cli: search browser close

## Parameters

- `id` (path, required), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X DELETE 'https://api.rivier.ai/browser/sessions/{id}' \
  -H 'Authorization: Bearer $KEY'
```
