# Bulk Update

The Bulk Update can be used to any object of the data model.

The endpoint to use is:

* PUT: [http://{host}/ws/rest/{Resource name}/bulkUpdate?](http://localhost:8080/ws/rest/Cargo/copy/213496782)key={key 1}\&key={key 2}\&key={key 3}...

passing ,to the specified resource, a list of key that have to be changed by the input body.

The endpoint returns 204 with no content if succeeded.

Bulk Update can also be used with [Expressions](https://dataloy-cloud.atlassian.net/wiki/spaces/VMSINT/pages/2146435073) :

For example

[http://platform-dev.dataloy.com/ws/rest/Voyage/bulkUpdate?expression=ballastPort.isCanal=true](http://platform-dev.dataloy.com/ws/rest/%7BObjectName%7D/bulkUpdate?expression=ballastPort.isCanal=true)
