# Update threshold (closed)

Canonical page: https://docs.ovok.com/api/slim/threshold/update-threshold-closed

`PUT /v1/slim/threshold`

Replaces the home's threshold configuration (closed).

> **Closed.** This v1 save route answers 410 Gone and writes nothing. Use `PUT /v2/slim/threshold`.

**Auth:** The access policy must grant `PlanDefinition:update` (an admin or super admin who holds no access policy skips this check).
**Scope:** The caller's project (from the token).

## Behaviour

- Every call answers `410` as `application/problem+json`, whatever the body says; the `detail` names the v2 route.
- The `GET` routes of this path are unchanged.

## Example

```bash
curl -X PUT 'https://api.sandbox.ovok.com/v1/slim/threshold' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk' \
  -H 'Content-Type: application/json' \
  -d '{}'
```

```json
{ "status": 410, "detail": "This v1 save route is closed. Use PUT /v2/slim/threshold." }
```

**Who can call it:** a practitioner, a project admin or a System Owner session. See [roles](/access-policies#who-can-call-a-route).