mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Fix some code-block warnings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
@@ -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
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
<meta>
|
||||
@@ -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
|
||||
|
||||
<?xml version="1.0"?>
|
||||
<ocs>
|
||||
<meta>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user