# Update current project features

Canonical page: https://docs.ovok.com/api/projects/update-current-project-features

`PATCH /v1/projects/me/features`

Replaces the Medplum features (`Project.features`) of your current project with the list you send.

**Auth:** bearer token of a project admin. The caller must also be a Practitioner, an admin or hold the System Owner access policy.
**Scope:** the caller's project (from the token).

## Behaviour

- The list replaces the stored one; it is not merged. Send every feature you want enabled. Sending the same list twice has the same result.
- Each value must be one of the FHIR `Project.features` codes.
- The write only succeeds if the project did not change since the server read it; otherwise it answers 409.

## Example

```bash
curl -X PATCH 'https://api.sandbox.ovok.com/v1/projects/me/features' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk' \
  -H 'Content-Type: application/json' \
  -d '{ "features": ["bots", "cron", "websocket-subscriptions"] }'
```
