Skip to content

Commit 990610f

Browse files
authored
Merge pull request #284 from DSpace/backport-277-to-dspace-7_x
[Port dspace-7_x] Workspace Items: add description of DELETE method
2 parents 4069c37 + 0638d9c commit 990610f

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
@@ -184,6 +184,15 @@ It would respond with:
184184
* 403 Forbidden - if you are not logged in with sufficient permissions to view the workspace item
185185
* 204 if the workspace item doesn't exist
186186

187+
## DELETE Method
187188

189+
**/api/submission/workspaceitems/<:ws-item-uuid>**
188190

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

193+
Available Response Codes are
194+
195+
* 204 No content - if the operation succeed
196+
* 401 Unauthorized - if the requester is not authenticated
197+
* 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)
198+
* 404 Not found - if the workspace item doesn't exist

0 commit comments

Comments
 (0)