diff --git a/developer_manual/client_apis/LoginFlow/index.rst b/developer_manual/client_apis/LoginFlow/index.rst index 8244e8601..7e3d67184 100644 --- a/developer_manual/client_apis/LoginFlow/index.rst +++ b/developer_manual/client_apis/LoginFlow/index.rst @@ -72,6 +72,7 @@ The user agent header will be used to name the app password. The response would look (in XML) something like: .. code-block:: xml + @@ -92,11 +93,13 @@ When an account on a client is removed for housekeeping it is desired to destroy This can be done by a simple call: .. code-block:: bash + curl -u username:app-password -X DELETE -H 'OCS-APIREQUEST: true' http://localhost/ocs/v2.php/core/apppassword The response should be a plain OCS response with a status 200 .. code-block:: xml + diff --git a/developer_manual/client_apis/RemoteWipe/index.rst b/developer_manual/client_apis/RemoteWipe/index.rst index f27159f26..99d935086 100644 --- a/developer_manual/client_apis/RemoteWipe/index.rst +++ b/developer_manual/client_apis/RemoteWipe/index.rst @@ -23,6 +23,7 @@ token parameter to the apptoken. In case the client gets back a 200 status code and a JSON array with wipe set to true like: .. code-block:: json + { "wipe":true }