diff --git a/doc/sphinx-guides/source/api/native-api.rst b/doc/sphinx-guides/source/api/native-api.rst index e6d5f4681b2..616d2aedf78 100644 --- a/doc/sphinx-guides/source/api/native-api.rst +++ b/doc/sphinx-guides/source/api/native-api.rst @@ -3402,6 +3402,8 @@ In order to update the number of files allowed for a Dataset, without causing a To delete the existing limit: +.. code-block:: bash + curl -H "X-Dataverse-key:$API_TOKEN" -X DELETE "$SERVER_URL/api/datasets/$ID/files/uploadlimit" The fully expanded example above (without environment variables) looks like this: @@ -3412,6 +3414,8 @@ The fully expanded example above (without environment variables) looks like this To delete the existing limit: +.. code-block:: bash + curl -H "X-Dataverse-key:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -X DELETE "https://demo.dataverse.org/api/datasets/24/files/uploadlimit" Report the data (file) size of a Dataset