Using the REST API with DSpace 5.6, can I delete *all *of an item's values
for one metadata field?
I'm using PUT https://{{host}}/rest/items/{{item_id}}/metadata
In my attempts to remove an item's values of *dc.subject*, I've tried these
data payloads:
[{"key":"dc.subject","value":""}]
[{"key":"dc.subject","value":null}]
[{"key":"dc.subject"}]
Each payload replaces any and all existing values of *dc.subject* with a
single empty value. Maybe that's good enough, but I'd rather get rid of the
field entirely for the item.
I'd be grateful for any suggestions.
Bob
--
All messages to this mailing list should adhere to the DuraSpace Code of
Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/5043c138-eea2-459a-b611-a3ce2345c2e7n%40googlegroups.com.