Who has dataverse Admin rights on demo.dataverse.org?
I need the admin to run the following to remove an embargo from one of my datasets.
https://demo.dataverse.org/dataverse/lake_design
Only the admin TOKEN is needed, all other settings are correct.
Documented here: https://guides.dataverse.org/en/latest/api/native-api.html#remove-an-embargo-on-files-in-a-dataset
export API_TOKEN=NEEDS demo.dataverse Admin TOKEN
export SERVER_URL=https://demo.dataverse.org
export PERSISTENT_IDENTIFIER=doi:10.70122/FK2/NAM7BG
export JSON='{"fileIds":[2533100]}'
curl -H "X-Dataverse-key: $API_TOKEN" -H "Content-Type:application/json" "$SERVER_URL/api/datasets/:persistentId/files/actions/:unset-embargo?persistentId=$PERSISTENT_IDENTIFIER" -d "$JSON"
@Sherry Lake sure, done:
{"status":"OK","data":{"message":"Embargo(es) were removed from files"}}
Thanks, @Philip Durbin โ๏ธ
And you can see the bug I found.... https://demo.dataverse.org/dataverse/lake_design
The dataset still has the "embargo" tag. But the file is no longer under embargo (only one file in the dataset).
I am waiting to see if an embargo is removed on its own (after the embargo date) by the software if the tag is still there. I will have to wait until tomorrow for an auto-release embargo in another dataset.
D'oh! ![]()
Do you want a job in QA? :sweat_smile:
Ask me at the Dataverse Community Meeting in June....... :wink:
ha, ok
When you create the issue, please link it up here.
Reported: https://github.com/IQSS/dataverse/issues/11257
Thanks, @Sherry Lake! Looks like Jim replied already.
Last updated: Oct 30 2025 at 06:21 UTC