Can I add/update DOI metadata with the REST API?

The REST API allows you to update DOI metadata either in full or partially via the attributes you specify. This is handled by the HTTP verb PUT and still ensures you follow a JSON:API document structure for your request payload.


$ curl -X PUT -H "Content-Type: application/vnd.api+json" --user YOUR_REPOSITORY_ID:YOUR_P­ASSWORD -d @my_doi_update.json

This example uses Curl. You will need to define the JSON payload and replace my_doi_update.json wih the metadata file and :id with the DOI you wish to update e.g. https:// xxxx.

More information can be found here.