Skip to content

Commit 0638d9c

Browse files
saschaszottgithub-actions[bot]
authored andcommitted
add description of DELETE method (workspace items)
(cherry picked from commit 728e37b)
1 parent 4069c37 commit 0638d9c

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)