Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Collections: Delete a collection

Natasa Bulatovic edited this page Feb 9, 2015 · 1 revision

##DELETE /collections/:id

Deletes the collection with identifier :id, if the collection is not with status "RELEASED". It deletes as well all items in the collection and the metadata profile of the collection.

####Response status codes #####204 No Content Successful deletion of the collection with provided :id

#####404 Not found The collection with provided :id is not found (does not exist)

#####401 Unauthorized Authentication is necessary to delete this collection

#####403 Forbidden Wrong credentials provided to delete this collection

#####422 Unprocessable Entity Collection can not be deleted e.g. because it is in a released status

###Response By successfull deletion

   204 No Content

is delivered as response

Clone this wiki locally