Skip to main content
PATCH
Update View
filters replace all the current filters. Default views are read-only: copy one with Duplicate View to change it.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

viewId
string
required

Id of the view, from List Views

Required string length: 1 - 64

Body

application/json
entity
enum<string>
required

The list a view belongs to: contact (Contacts page), company (Companies page) or task (Tasks page)

Available options:
contact,
company,
task
Example:

"contact"

name
string

Name shown on the tab, 1 to 80 characters after trimming.

Required string length: 1 - 80
Example:

"Hot leads in Paris"

icon
enum<string>

Font Awesome icon shown on the tab. Defaults to far fa-folder on create.

Available options:
far fa-folder,
far fa-list-check,
far fa-star,
far fa-flag,
far fa-bolt,
far fa-bullseye,
far fa-calendar,
far fa-user,
far fa-phone,
far fa-fire,
far fa-reply,
far fa-plane-departure,
far fa-triangle-exclamation,
far fa-circle-check
Example:

"far fa-fire"

visibility
enum<string>

me: private to its owner. everyone: shared with the team, which needs the "Create views for the team" permission. Defaults to me on create.

Available options:
me,
everyone
Example:

"me"

filters
object

A view's filters. On update, they replace all the current filters.

Example:

Response

View updated

data
object