Forum Discussion

ScheurK's avatar
ScheurK
Cloud Apps
12-09-2021

Let viewers remove their starred filters

Hi all,

Through the REST API it's possible to give viewers access to starred filters and also let's them create those filters themselves. However, they do not have the option to overwrite/remove those starred filters.

Is this possible? Or could this become a feature?

Kind regards!

9 Replies

Replies have been turned off for this discussion
  • Ophir_Buchman's avatar
    Ophir_Buchman
    Data Integration

    Hi ScheurK,

     

    Can you please provide the RESTAPI Endpoints you refer to?

    This Is just for better context

     

    Thanks,

    Ophir

    • ScheurK's avatar
      ScheurK
      Cloud Apps

      I used the 0.9 API, where I used:

       POST​/roles​/{idOrName}​/manifest​/{path}

      Updates a user role manifest by role ID or name.
       
      In there I set "use_starred" under dashboard/filters for viewers to true. This lets them create starred filters, however they cannot remove or rename them.
      • Ophir_Buchman's avatar
        Ophir_Buchman
        Data Integration

        Hi ScheurK,

         

        As of today - We don't have an interface to edit starred formulas - But just delete and create them

         

        To create - Use the POST command to the /api/metadata endpoint

        To delete - Use the DELETE command to the /api/metadata/{id} endpoint

         

        As this is an internal endpoint, I'd suggest using the "Developer Mode" of your browser ("Network" tab) and creating/deleting a starred formula

         

        Ophir

         

  • Ophir_Buchman's avatar
    Ophir_Buchman
    Data Integration

    Hן ScheurK,

    I'd actually place it in the "APIs & SDKs (Moti)" section.
    Are you able to access the following URL?

    Ophir