---
title: "Save preferences"
method: PUT
path: "/portal-config/"
tags: ["Account"]
---

# Save preferences

`PUT /portal-config/`

## Request

- Base URL: `https://onlygoodantibodies.co.uk/api/v1`
- URL: `https://onlygoodantibodies.co.uk/api/v1/portal-config/`
- Auth: API key in header `X-API-Key`

`filename_pattern` decides the `filename` field in the manifest. Placeholders: `{gene}`, `{catalogue}`, `{rrid}`, `{application}`.

## Request body

- object
  - `filename_pattern` string
  - `url_pattern` string
  - `image_format` string
  - `contact_email` string, email

## Response `200`

Success.

## Other responses

- `400`: A parameter could not be read.
- `401`: No X-API-Key header.
- `403`: Key unknown or inactive, or this endpoint is not available to your account type.
- `429`: Over 60/minute or 1000/hour. Carries `Retry-After` in seconds.

---

[API](https://skmtc.dev/onlygoodantibodies/apis/oga-data-api.md) · [All operations](https://skmtc.dev/onlygoodantibodies/apis/oga-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/onlygoodantibodies/apis/oga-data-api/revisions/8df16a210acb?raw)
