-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guides: Add information on deleting datasets, dataverses and destroy command #2593
Comments
I'll take this ticket to add the delete information into the user guide. Someone else will need to do the API guide |
How to destroy datasets is already documented in the API Guide. We should probably also document it in the Superuser section of the User Guide as part of #2211. |
I noticed @donsizemore pushed 7b2ef2b so I moved this to QA. |
@pdurbin Still needs info on deleting dataverse in ui |
@donsizemore so sorry to send this back to you. Please see above about the UI and I'm also wondering if you could convert the commands to copy and pasteable full curl commands. |
A partner was asking about how to delete things and it was not in the User Guide, see RT 227504.
This was my answer and could be documented both in the user guide and api guide:
You can delete draft versions of datasets through the UI and empty dataverse through the UI by navigating to the dataset or dataverse, choosing edit, and then delete dataset or dataverse.
You cannot delete a published or deaccessioned dataset through the UI. A user who has been granted super user status can delete a published dataset using the native API:
http://guides.dataverse.org/en/4.2/api/native-api.html#datasets
[Open URL] curl -X DELETE http://$SERVER/api/datasets/$id/destroy?key=$apiKey
Please note: the command normally is used for removing draft datasets but when a super user you can add the destroy keyword and that removes the published version.
The text was updated successfully, but these errors were encountered: