API endpoint to check user access to Liveboard/Visualization

Hi, is there any way to check whether the user is having access to Liveboard via an api
3 Replies
Justin Mathew
Justin Mathew4mo ago
cc: @Swarnika
sandeep
sandeep4mo ago
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:
{
"metadata": [
{
"identifier": "liveboard_identifier",
"type": "LIVEBOARD"
}
],
"principals": [
{
"identifier": "user_identifier",
"type": "USER"
}
],
"permission_type": "EFFECTIVE"
}
{
"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.
lokesh
lokeshOP4mo ago
Thanks @Sandeep

Did you find this page helpful?