v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Views

Update a view

put/views/{id}

Path parameters

idstring required

View ID

Request body

_idstring

Unique id

accountIdstring

Id of the user owning this view

titlestring

Title for the view

fieldsstring

Selection of fields, separated by space

sortstring

ascending sort , use - to descending sort

createdAtstring
updatedAtstring

Example request

{
  "shares": [
    {
      "contactId": "5926bdfb1bfe871000d0a745"
    }
  ]
}

Response

Retrieve the updated listing, selection of fields that were sent in body.

_idstring

Unique id

accountIdstring

Id of the user owning this view

titlestring

Title for the view

fieldsstring

Selection of fields, separated by space

sortstring

ascending sort , use - to descending sort

createdAtstring
updatedAtstring

Example response

{
  "shares": [
    {
      "contactId": "5926bdfb1bfe871000d0a745"
    }
  ]
}