# 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)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api.dataloy.com/api-release-8.25/user-guides/enterprise-functionality/bulk-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
