For the bulk delete of collection scopes we agreed on developing an endpoint, which will accept a list of collection scope ids in the request body.
The endpoint for bulk deleting collection roles is:
POST /api/collection/scopes/delete
and it accepts in the request body:
[collectionScopeId1, collectionScopeId2, collectionScopeId3, ...]
which is the list of collection scopes, which we want to delete
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