Create POST /api/entities/delete endpoint for deleting entities

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 3.5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not defined

      For the bulk delete of entities we agreed on developing an endpoint, which will accept a map which maps the entity type to the list of entity ids to be deleted in the request body.

      The endpoint for bulk deleting entities is:

      POST /api/entities/delete
      
      

      and it accepts in the request body:

      [
        'reports' : [ 'reportId1', 'reportId2', ...,
        'collections' : [ 'collectionId1', 'collectionId2', ...,
        'dashboards' : [ 'dashboardId1', 'dashboardId2', ...,
      ]
      

      AT:

      the endpoint has been developed
      addiniotal ITs have been added which verify the correct functionality of the endpoint
      the REST documentation has been updated accordingly

            Assignee:
            Unassigned
            Reporter:
            Andromachi Rozaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: