---
title: "Rename a saved view or repoint its filters"
method: PATCH
path: "/inbox/saved-views/{view_id}/"
tags: ["inbox"]
---

# Rename a saved view or repoint its filters

`PATCH /inbox/saved-views/{view_id}/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/inbox/saved-views/{view_id}/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Both fields are independent, so renaming and 'make this match what I am looking at now' are the same endpoint without either clobbering the other.

## Path parameters

- `view_id` string, uuid, required

## Request body

- SavedViewUpdateSchema: R7 partial update: rename, repoint at new filters, or both. Both fields optional and independent, so "rename this" and "make this match what I am looking at now" are the same endpoint without either overwriting the other with a stale value.
  - `filters` object, nullable
  - `name` string, nullable

## Response `200`

Successful Response

- SavedViewReadSchema: A named set of inbox filters.
  - `created_at` string, date-time, required
  - `created_by_email` string, required
  - `filters` object, required
  - `id` string, uuid, required
  - `name` string, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found.
- `422`: Validation failed.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
