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

Profiles: delete a Metadata Profile

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

##DELETE /profiles/:id

Deletes the profile with identifier :id, if the profile is not with status "RELEASED" and if the profile is not used by any collection.

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

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

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

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

#####422 Unprocessable Entity Profile can not be deleted e.g. because it is in a released status, because it is used by at least one collection, because is a default profile

###Response By successfull deletion

   204 No Content

is delivered as response

Clone this wiki locally