Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3872,13 +3872,13 @@ Superusers can change whether an existing license is active (usable for new data
export STATE=true
curl -X PUT -H 'Content-Type: application/json' -H X-Dataverse-key:$API_TOKEN $SERVER_URL/api/licenses/$ID/:active/$STATE

Superusers can set which license is the default specified by the license ``$ID``:
Superusers may change the default license by specifying the license ``$ID``:

.. code-block:: bash

curl -X PUT -H 'Content-Type: application/json' -H X-Dataverse-key:$API_TOKEN --data-binary @edit-license.json $SERVER_URL/api/licenses/default/$ID
curl -X PUT -H X-Dataverse-key:$API_TOKEN $SERVER_URL/api/licenses/default/$ID

Superusers can delete a license that is not in use by the license ``$ID``:
Superusers can delete a license, provided it is not in use, by the license ``$ID``:

.. code-block:: bash

Expand Down