Skip to content

Commit

Permalink
Merge pull request #12464 from nextcloud/adjust-ooo-modify-api
Browse files Browse the repository at this point in the history
fix(ooo): POST/DELETE endpoint
  • Loading branch information
SystemKeeper authored Dec 31, 2024
2 parents cc179f4 + d3448ec commit 8bbb0ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions developer_manual/client_apis/OCS/ocs-out-of-office-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

+---------------------------------+-------------+---------------------------------------------------------------------+
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8bbb0ee

Please sign in to comment.