Skip to content

Commit 0a953eb

Browse files
authored
Merge pull request DSpace#277 from saschaszott/patch-5
Workspace Items: add description of DELETE method
2 parents a6ca47b + 728e37b commit 0a953eb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

workspaceitems.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,15 @@ It would respond with:
207207
* 403 Forbidden - if you are not logged in with sufficient permissions to view the workspace item
208208
* 204 if the workspace item doesn't exist
209209

210+
## DELETE Method
210211

212+
**/api/submission/workspaceitems/<:ws-item-uuid>**
211213

214+
Deletes workspace item with the given UUID. The deletion includes the deletion of the item object that is associated to the given workspace item.
212215

216+
Available Response Codes are
217+
218+
* 204 No content - if the operation succeed
219+
* 401 Unauthorized - if the requester is not authenticated
220+
* 403 Forbidden - if the requester does not have sufficient permissions ((deletion of workspace items can only be requested by the submitter of the workspace item or administrators)
221+
* 404 Not found - if the workspace item doesn't exist

0 commit comments

Comments
 (0)