Skip to content

Commit

Permalink
Merge pull request #10511 from IQSS/replace-data-binary-curl
Browse files Browse the repository at this point in the history
Update native-api.rst
  • Loading branch information
pdurbin authored Apr 22, 2024
2 parents 7e12742 + 4a64ad0 commit cf79282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/sphinx-guides/source/api/native-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5879,7 +5879,7 @@ Superusers can add a new license by posting a JSON file adapted from this exampl
.. code-block:: bash
export API_TOKEN=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
curl -X POST -H 'Content-Type: application/json' -H "X-Dataverse-key:$API_TOKEN" --data-binary @add-license.json "$SERVER_URL/api/licenses"
curl -X POST -H 'Content-Type: application/json' -H "X-Dataverse-key:$API_TOKEN" --upload-file add-license.json "$SERVER_URL/api/licenses"
Superusers can change whether an existing license is active (usable for new dataset versions) or inactive (only allowed on already-published versions) specified by the license ``$ID``:
Expand Down

0 comments on commit cf79282

Please sign in to comment.