From b6642956a688e5e2426350b236cdd3dc3b4e6fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Mon, 30 Dec 2024 21:42:20 +0100 Subject: [PATCH] fix(ooo): POST/DELETE endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- developer_manual/client_apis/OCS/ocs-out-of-office-api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/developer_manual/client_apis/OCS/ocs-out-of-office-api.rst b/developer_manual/client_apis/OCS/ocs-out-of-office-api.rst index d8aa03d74b3..42384833b9c 100644 --- a/developer_manual/client_apis/OCS/ocs-out-of-office-api.rst +++ b/developer_manual/client_apis/OCS/ocs-out-of-office-api.rst @@ -87,7 +87,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: +---------------------------------+-------------+---------------------------------------------------------------------+ @@ -140,7 +140,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