Access types have to be managed inside KB credentials. This requires existing DELETE /eholdings/access-types/<id> to be updated by introducing additional request parameter: credentialsId.
Modified endpoint definition should look like the following:
More details can be found in the dedicated section of "Spike: MODKBEKBJ-390 - describe design for "Single tenant multiple EBSCO KBs" scenario"
- access type which belongs to specific KB credentials is successfully deleted
- old DELET /eholdings/access-types/<id> endpoint removed, respective permission is removed also
- the endpoint updated and works according to the requirements
- the endpoint is covered with unit tests
- API tests updated respectively