Skip to contents

Adds or updates an item's alternative identifier. This can add additional identifiers or update those already in place. See query_item_identifier for finding items based on alternative identifier.

Usage

item_update_identifier(sb_id, scheme, type, key, ...)

Arguments

sb_id

An sbitem object or a character ScienceBase ID corresponding to the item

scheme

The identifier scheme

type

The identifier type

key

The identifier key

...

Additional parameters are passed on to GET, POST, HEAD, PUT.

Examples

if (FALSE) {

initialize_sciencebase_session()
item_update_identifier("5485fd99e4b02acb4f0c7e81", "scheme", "type", "key")

}