Skip to content
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

Closed
kcondon opened this issue Sep 25, 2015 · 8 comments
Closed
Assignees
Milestone

Comments

@kcondon
Copy link
Contributor

kcondon commented Sep 25, 2015

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.

@kcondon kcondon added UX & UI: Design This issue needs input on the design of the UI and from the product owner Priority: Medium labels Sep 25, 2015
@eaquigley eaquigley added this to the 4.3 milestone Sep 25, 2015
@eaquigley eaquigley self-assigned this Sep 25, 2015
@eaquigley
Copy link
Contributor

I'll take this ticket to add the delete information into the user guide. Someone else will need to do the API guide

@mercecrosas mercecrosas modified the milestones: 4.3, In Review Nov 30, 2015
@mheppler mheppler changed the title Documentation: Add information on deleting datasets and dataverses and destroy command. User Guide: Add information on deleting datasets, dataverses and destroy command Jan 22, 2016
@mheppler mheppler added Feature: Permissions Feature: API and removed UX & UI: Design This issue needs input on the design of the UI and from the product owner labels Jan 27, 2016
@pdurbin
Copy link
Member

pdurbin commented Jan 28, 2016

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.

@scolapasta scolapasta modified the milestone: Not Assigned to a Release Jan 28, 2016
@pdurbin pdurbin changed the title User Guide: Add information on deleting datasets, dataverses and destroy command Guides: Add information on deleting datasets, dataverses and destroy command Mar 11, 2016
@pdurbin
Copy link
Member

pdurbin commented Mar 22, 2019

I noticed @donsizemore pushed 7b2ef2b so I moved this to QA.

@kcondon
Copy link
Contributor Author

kcondon commented Mar 22, 2019

@pdurbin Still needs info on deleting dataverse in ui

@pdurbin
Copy link
Member

pdurbin commented Mar 22, 2019

@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.

donsizemore added a commit to uncch-rdmc/dataverse that referenced this issue Mar 25, 2019
pdurbin added a commit to uncch-rdmc/dataverse that referenced this issue Mar 25, 2019
@pdurbin pdurbin self-assigned this Mar 25, 2019
pdurbin added a commit to uncch-rdmc/dataverse that referenced this issue Mar 25, 2019
@pdurbin pdurbin removed their assignment Mar 25, 2019
@kcondon kcondon self-assigned this Mar 25, 2019
kcondon added a commit that referenced this issue Mar 25, 2019
@kcondon kcondon closed this as completed Mar 25, 2019
@djbrooke djbrooke added this to the 4.12 milestone Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants