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
2021-07-06 11:11:29 +02:00
committed by GitHub
parent 227c11d37f
commit a18d3007a7
3 changed files with 10 additions and 6 deletions
+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