Permissions API

Share/Unshare Reports with Users

This allow you to share/unshare reports/dashboard with users

POST /permissions/share.json
POST /permissions/unshare.json
{
  "actions": [
    {
      "actor_class": "User",
      "actor_id": 123,
      "action": "read",
      "subject_class": "QueryReport",
      "subject_id": 456
    }
  ]
}
  • Available actor_class: User, Group
  • Available subject_class: QueryReport, Dashboard
  • Available action: read

The above example will simulate an action of current user (via API authentication), sharing report 456 with another user (id: 123), allowing user 123 to be able to read the report.