View, update and manage tab (now called dashboard) share rights.

GET /tabs/{id}/share-rights

DescriptionGet a list of the tab’s share rights.
tab.share
https://app.klipfolio.com/api/1.0/tabs/{id}/share-rights
tab_id (string)
401 — access denied
404 — tab id not found
Permissionstab.share
Resource URLhttps://app.klipfolio.com/api/1/tabs/{id}/share-rights
Parameterstab_id (string)

Example Request

GET https://app.klipfolio.com/api/1/tabs/fedcba9876543210fedcba9876543210/share-rights

Example Response

{
 "data": {
       "share_rights":[{
          "group_id":"f3db5f3a05d53c60032ec0730759a785",
          "group_name":"First Test Group",
          "can_edit":false
          "vis_dashboard":"dashboard"
         }]
  },
 "meta": {
     "status": 200,
     "success": true
 }
}

PUT /tabs/{id}/share-rights

DescriptionUpdate a tab's share rights. If the tab is not already shared with the specified group a new share right is created, otherwise the existing right is updated.
Permissionstab.share
Resource URLhttps://app.klipfolio.com/api/1.0/tabs/{id}/share-rights
Fieldsgroups, group_id, can_edit (true/false)

Example Request

PUT https://app.klipfolio.com/api/1/tabs/fedcba9876543210fedcba9876543210/share-rights -d “{'groups': [{'group_id': 'a9dff9e0b37ecd0fff24cba32ab88223', 'can_edit': true}, {'group_id': 'c4283e83f928255074e7c1aa3c35c30b', 'can_edit': false}]}”

Example Response

{
 "meta": {
     "status": 200,
     "success": true
 }
}

DELETE /tabs/{id}/share-rights/{group-id}

DescriptionRevoke access to a group tab.
Permissionstab.share
Resource URLhttps://app.klipfolio.com/api/1.0/tabs/{id}/share-rights/{group_id}
ParametersNone.

Example Request

DELETE https://app.klipfolio.com/api/1/tabs/0987654321qwer/share-rights/098765432211abc

Example Response

{
"meta": {
      "status": 200,
      "success": true
  }
}