Update Data Items By Key

Find any data items whose fields match specified values and update those items using a patch. If the value of a field in a patch is null, that value will be deleted from the item. If the provided field name does not exist in the collection schema, that value is ignored. Attempts to update the Collection field will be ignored as a data item cannot be moved to a different collection.

Valid Authentication Methods

OAuth 2.0 User Token Scopes:

  • data-service.admin
Path Params
integer
required

ID of collection to update data items for

Body Params
patches
array of objects
required

Define what items from the collection you are changing and how to change them. The order of strings in fieldValues must match that of either keySchemaFields or of the actual primary keys from the real schema if keySchemaFields is not defined.

patches*
keySchemaFields
array of strings

Fields used to search for items in the collection. If it is not provided, primary keys from the schema are used.

keySchemaFields
Response

Language
Credentials
OAuth2