Skip to main content
POST
/
api
/
saved-views
/
v1
/
set-pin
SetPin
curl --request POST \
  --url https://developer.synq.io/api/saved-views/v1/set-pin \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "pinned": true
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string<uuid>

Id of the view to pin/unpin for the calling user.

pinned
boolean

Desired pin state: true to pin, false to unpin.

Response

200 - application/json

Success

The response is of type SetPinResponse · object.