Folders: Return 409 Conflict status when folder already exists (#36429)

* Return 409 Conflict when trying to post folder that already exists

* Fix tests

* Update documentation for new error message in folders api
This commit is contained in:
Dimitris Sotirakis authored and GitHub committed 2021-07-06 11:11:29 +02:00
1 parent 227c11d37f
commit a18d3007a7
3 files changed
+10 -6

No files matched your search

+1
View File
@@ -154,6 +154,7 @@ Status Codes:
- **400** – Errors (invalid json, missing or invalid fields, etc)
- **401** – Unauthorized
- **403** – Access Denied
- **409** - Folder already exists
## Update folder