Merge pull request #12464 from nextcloud/adjust-ooo-modify-api

fix(ooo): POST/DELETE endpoint
This commit is contained in:
Marcel Müller 2024-12-31 08:50:04 +01:00 committed by GitHub
commit 8bbb0ee0b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,7 @@ Modify out-of-office data
It is only possible to modify out-of-office data of the currently logged in user.
* Method: ``POST``
* Endpoint: ``/``
* Endpoint: ``/{userId}``
* Data:
+---------------------------------+-------------+---------------------------------------------------------------------+
@ -139,7 +139,7 @@ Clear data and disable out-of-office
It is only possible to clear out-of-office data of the currently logged in user.
* Method: ``DELETE``
* Endpoint: ``/``
* Endpoint: ``/{userId}``
* Response:
- Status code:
+ ``200 OK`` Out-of-office data was cleared