API endpoint to check user access to Liveboard/Vis...
# help
l
Hi, is there any way to check whether the user is having access to Liveboard via an api
j
cc: @Swarnika
s
Hello @lokesh : Apologies for the delayed response. To retrieve the permissions for a specific user on a liveboard, you can use the following API: Endpoint: POST /api/rest/2.0/security/metadata/fetch-permissions Sample payload:
Copy code
{
  "metadata": [
    {
      "identifier": "liveboard_identifier",
      "type": "LIVEBOARD"
    }
  ],
  "principals": [
    {
      "identifier": "user_identifier",
      "type": "USER"
    }
  ],
  "permission_type": "EFFECTIVE"
}
This payload will return the effective permissions the specified user has on the given liveboard. Please let us know if you need any further assistance or clarification.
l
Thanks @Sandeep Yadav