Skip to content

Commit 8bbb0ee

Browse files
authored
Merge pull request #12464 from nextcloud/adjust-ooo-modify-api
fix(ooo): POST/DELETE endpoint
2 parents cc179f4 + d3448ec commit 8bbb0ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

developer_manual/client_apis/OCS/ocs-out-of-office-api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Modify out-of-office data
8686
It is only possible to modify out-of-office data of the currently logged in user.
8787

8888
* Method: ``POST``
89-
* Endpoint: ``/``
89+
* Endpoint: ``/{userId}``
9090
* Data:
9191

9292
+---------------------------------+-------------+---------------------------------------------------------------------+
@@ -139,7 +139,7 @@ Clear data and disable out-of-office
139139
It is only possible to clear out-of-office data of the currently logged in user.
140140

141141
* Method: ``DELETE``
142-
* Endpoint: ``/``
142+
* Endpoint: ``/{userId}``
143143
* Response:
144144
- Status code:
145145
+ ``200 OK`` Out-of-office data was cleared

0 commit comments

Comments
 (0)