From c47291c3676c0bbba9700de0dfc433d63e361dbd Mon Sep 17 00:00:00 2001 From: "don.sizemore" Date: Mon, 13 Jun 2022 14:57:37 -0400 Subject: [PATCH] #8790 setting default license doesn't require edit-license.json --- doc/sphinx-guides/source/api/native-api.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/sphinx-guides/source/api/native-api.rst b/doc/sphinx-guides/source/api/native-api.rst index 5cf90359001..5112cc62b5e 100644 --- a/doc/sphinx-guides/source/api/native-api.rst +++ b/doc/sphinx-guides/source/api/native-api.rst @@ -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