Adds custom metadata (a key-value pair) to an object.

Type: synchronous

Parameter Description Required
database The name of the database that contains the object. Yes
identifier The identifier of the object that you want to add metadata to. Yes
key The key to add (maximum 254 bytes). Yes
value The value to add (maximum 254 bytes). Yes


The following example adds metadata to an object: