Stream: community

Topic: API - Delete Published Dataset


view this post on Zulip Julien C (Oct 27 2023 at 06:32):

Hello Dataverse Community,

According to the version 5.1x documentation, it is possible to delete a published Dataset.
https://guides.dataverse.org/en/5.10/api/native-api.html?highlight=destroy#id84

In case of migration, it might be interesting to do it on the source server once the migration is successful on the target server.

But here's my question: what is the status of the DOI of this dataset after using this "destroy" command?

More specifically, does the Dataverse installation do anything with the DOI provider when doing this?

For example, something like removing the uri for SEO or something else?

I'm trying to find out if the supplier received an update or not when you call a "destroy" command with API ?

Thank you in advance for your answer,

Regards

EDITED: after testing, is it possible to bypass the destruction of the DOI with this command?

view this post on Zulip Philip Durbin 🚀 (Oct 27 2023 at 11:33):

Hmm, no, I don't think so, but it's a good idea. Make sense that you'd want this. Please feel free to create an issue.

view this post on Zulip Sherry Lake (Oct 27 2023 at 13:15):

Once a dataset is published, according to DataCite - if they are the DOI minter’s, that DOI must go to a landing page, why Deaccessioned datasets generate a tombstone page. Destroying a dataset in Dataverse repo, I assume does nothing on the DataCite-side because…

You cannot delete a published DOI from DataCite, you can change the URL that the dataset resolves to, via DataCite API, and point it to another URL, but again, it cannot be deleted. The status can be updated from “findable” (indexed) to “registered”. See the link below

https://support.datacite.org/docs/can-i-delete-or-change-my-dois

view this post on Zulip Philip Durbin 🚀 (Oct 27 2023 at 13:57):

Right. Yes. But when you're migrating a dataset to another Dataverse installation the idea is to update the DOI to point at the new installation, not delete the DOI.

view this post on Zulip Philip Durbin 🚀 (Oct 27 2023 at 13:57):

@Julien C please remind me... you're keeping your old installation for some datasets? Or are you moving all of them to @Dimitri Szabo 's installation?

view this post on Zulip Dimitri Szabo (Oct 27 2023 at 14:22):

Philip Durbin said:

Julien C please remind me... you're keeping your old installation for some datasets? Or are you moving all of them to Dimitri Szabo 's installation?

Moving all the datasets :)

view this post on Zulip Philip Durbin 🚀 (Oct 27 2023 at 14:26):

Ok, so deleting (destroying) the old dataset is probably to help keep track of what has been moved already.


Last updated: Nov 01 2025 at 14:11 UTC