Skip to main content
PUT
Replaces the deal views a user has pinned to the tab bar of the deals table. Send the full ordered list: a single call pins, unpins and reorders views. viewIds must contain at least one view. A user can pin public views, the private views they can access and built-in default views. The update fails, and nothing changes, if viewIds contains duplicates or a view the user cannot access.

Authorizations

X-Claap-Key
string
header
required

Query Parameters

userEmail
string<email>
required

Email address of the user whose pinned views are updated. It must belong to an active workspace member.

Example:

"jane.doe@example.com"

Body

application/json
viewIds
string[]
required

Identifiers of the views to pin, in tab bar order. Replaces the current pinned views. Must contain at least one view; each view must be accessible to the user, and must appear only once.

Minimum array length: 1

Response

Pinned deal views were successfully updated

result
object[]
required