# lg_rankings_opt_out: Keep your traffic out of the public rankings

Change whether to keep your organization's traffic out of the public rankings. As an agent you may opt out; opting back in is done by a person.

- **Changes data:** yes
- **Credential scope:** `settings:write` (an API key's scopes, or what you allowed when connecting with OAuth)
- **Assistant level:** an assistant at Full; a lower level is refused

## Inputs

| Field | Type | Required | Notes |
|---|---|---|---|
| `body` | object (opt_out) | yes |  |
| `body.opt_out` | boolean | yes |  |

## Example MCP call

A `tools/call` request to `https://manage.restolayer.com/mcp`:

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "lg_rankings_opt_out",
    "arguments": {
      "body": {
        "opt_out": true
      }
    }
  }
}
```

## Example REST call

The same thing over REST (`PUT /v1/settings/rankings`):

```bash
curl -s -X PUT "https://manage.restolayer.com/v1/settings/rankings" \
  -H "Authorization: Bearer $LG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"opt_out":true}'
```

All tools: [MCP tools](https://www.restolayer.com/docs/mcp/tools). Connecting: [connect your assistant](https://www.restolayer.com/docs/connect).
