]> git.koha-community.org Git - koha.git/commit
Bug 31793: Add REST endpoint to delete authorities
authorAgustin Moyano <agustinmoyano@theke.io>
Wed, 7 Dec 2022 15:05:35 +0000 (12:05 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 13:21:19 +0000 (10:21 -0300)
commit36a86d747830cbeba8126b618bb8b6a040c931b4
tree257f9b31793fa2c3b6aa4255633da937e56795af
parent35dd17735f4e5b39b0a56a3d72d010fd7d176a32
Bug 31793: Add REST endpoint to delete authorities

To test:
1. Apply patch
2. Set RESTBasicAuth preference to true
3. Get the id of an authority
4. Make a DELETE request to /api/v1/authorities/{authid}
5. Check that the authority was deleted
6. Sign off

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Authorities.pm
api/v1/swagger/paths/authorities.yaml
t/db_dependent/api/v1/authorities.t