[Koha-bugs] [Bug 31797] REST API: DELETE endpoint for Items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 30 16:40:19 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31797

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucas at bywatersolutions.com

--- Comment #2 from Lucas Gass <lucas at bywatersolutions.com> ---
Playing around with ajax(), this seems to work well:

$.ajax({
    url: '/api/v1/items/307',
    method: 'DELETE',
    contentType: 'application/json',
    success: function(result) {
        console.log('deleted')
    },
});

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list