# Update a view

> `PATCH` `/v1/views`

URL: https://www.agencytitan.com/docs/tag/views/PATCH/v1/views

Operation ID: `views_update`

Tag: [views](https://www.agencytitan.com/docs/tag/views.md)

## Description

Update, rename, or change a top-level view object's settings.

Use this for editor-visible view settings such as:
- name
- description
- icon
- process-scoped slug
- date range, real-time, and auto-refresh behavior
- visibility

Scope target changes are intentionally limited because the live update path does not safely support moving scope_id.

## Parameters

_None_

## Request body

- Required: yes
- Content-Type: `application/json`
  - Type: `allOf`
  - Properties:
    - `auto_refresh_interval` (`anyOf`) — Optional auto-refresh interval in seconds. Set null to clear.
    - `default_date_range` (`anyOf`) — Initial preset for the view-level date-range picker. Set null to clear.
    - `description` (`string`) — Optional new description.
    - `enable_date_range` (`boolean`)
    - `icon` (`string`) — Optional new icon.
    - `name` (`string`) — Optional new view name.
    - `real_time_updates` (`boolean`)
    - `scope` (`string`) — Optional scope hint for resolving view_name. Changing scope_type is intentionally restricted.
    - `scope_id` (`string|null`) — Optional scope_id hint for resolving view_name.
    - `slug` (`string|null`) — Optional slug update. Only meaningful for process-scoped views.
    - `view_id` (`string`) — Exact view id.
    - `view_name` (`string`) — Alternative exact view name.
    - `visibility` (`string`)

## Responses

- `200` (`application/json`): Successful response.
  - Type: `object`
  - Properties:
    - `data` (`object`, required)
- `400` (`application/json`): Request validation failed (unknown or out-of-range parameters/properties are rejected).
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `401` (`application/json`): Missing, invalid, expired, or revoked bearer token.
  - Type: `object`
  - Properties:
    - `error` (`string`, required)
    - `error_description` (`string`, required)
- `403` (`application/json`): The authenticated user does not have permission for this operation.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `404` (`application/json`): The requested resource was not found.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `409` (`application/json`): The request conflicts with an existing record or partially applied.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `429` (`application/json`): Per-tenant rate limit exceeded (600 requests/minute across all /v1 REST endpoints). The Retry-After header indicates how many seconds to wait.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)
- `500` (`application/json`): An unexpected internal error occurred.
  - Type: `object`
  - Properties:
    - `error` (`object`, required)

## Authentication

- `bearerAuth` — http (bearer) — All /v1 endpoints (except `/v1/openapi.json` and `/v1/llms.txt`) require a bearer token. Two equal first-class paths: (1) an OAuth 2.0 access token from the au…

## Useful links

- Interactive page: https://www.agencytitan.com/docs/tag/views/PATCH/v1/views
- API reference home: https://www.agencytitan.com/docs/
- Tag page: https://www.agencytitan.com/docs/tag/views.md
- This operation as Markdown: https://www.agencytitan.com/docs/tag/views/PATCH/v1/views.md
- OpenAPI JSON: https://www.agencytitan.com/docs/openapi.json
- Full API Markdown: https://api.agencytitan.com/v1/llms.txt
- API keys: https://app.agencytitan.com/settings/api-mcp
