Correct success message of deaccessioning API endpoint when dataset PID is used #10309
Labels
Feature: API
Size: 10
A percentage of a sprint. 7 hours.
Type: Bug
a defect
User Role: API User
Makes use of APIs
Milestone
When does this issue occur?
When using the API endpoint for deaccessioning a dataset, documented at https://guides.dataverse.org/en/6.1/api/native-api.html#deaccession-dataset, while passing in a dataset's PID instead of its database ID
What happens?
The success message reads:
{'status': 'OK', 'data': {'message': 'Dataset :persistentId deaccessioned for version 1.0'}}
To whom does it occur (all users, curators, superusers)?
All users
What did you expect to happen?
In place of ":persistentId", the success message would include either the PID of the dataset or its database ID.
Which version of Dataverse are you using?
v6.1
Any related open or closed issues to this bug report?
#778, #8132
The text was updated successfully, but these errors were encountered: