> For the complete documentation index, see [llms.txt](https://scorpioplay.gitbook.io/scorpio-play-casino-api-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scorpioplay.gitbook.io/scorpio-play-casino-api-doc/api-reference/openapi/v1-operator-update.md).

# /v1/operator/update

## Update operator information

<mark style="color:blue;">`PATCH`</mark>`/v1/operator/update`

Allows an authenticated operator to update its own configuration (e.g., rtp value, callback URL, allowed IP addresses).

**Headers**

| Name          | Value                |
| ------------- | -------------------- |
| Authorization | `Bearer <API_TOKEN>` |
| Content-Type  | `application/json`   |
| Accept        | `application/json`   |

**Body**

```json
{
  "name": "string",
  "rtp": 99,
  "callbackURL": "https://example.com/api/callback",
  "allowedIPs": [
    "1.1.1.1",
    "192.168.1.1"
  ]
}
```

<table><thead><tr><th width="126">Field</th><th width="123">Data Type</th><th width="398">Description</th><th>Mandatory</th></tr></thead><tbody><tr><td>name</td><td>string</td><td>Operator name, usually your company name or individual name.</td><td>Optional</td></tr><tr><td>rtp</td><td>number</td><td>Return to Player percentage<br>(50%~95%)</td><td>Optional</td></tr><tr><td>callbackURL</td><td>string (URL)</td><td>Callback endpoint for transaction and event notifications</td><td>Optional</td></tr><tr><td>allowedIPs</td><td>string[]</td><td>Whitelisted IP addresses allowed to access the API</td><td>Optional</td></tr></tbody></table>

**Response**

```json
{
  "success": true,
  "message": "OK"
}
```

<table><thead><tr><th width="127">Field</th><th width="114">Data Type</th><th>Description</th></tr></thead><tbody><tr><td>success</td><td>boolean</td><td>Indicates whether the request was processed successfully</td></tr><tr><td>message</td><td>string</td><td>Human-readable status message</td></tr></tbody></table>
