3.4. openidm.update(id, rev, value)

This function updates a resource object.

Parameters

id

string

The identifier of the resource object to be updated.

rev

string

The revision of the object to be updated, or null if the object is not subject to revision control.

value

object

The value of the object to be updated.

Returns

  • The modified OpenIDM resource object.

Throws

  • An exception is thrown if the object could not be updated.