> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.cadrooms.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cadrooms.com/_mcp/server.

# Update an ECO

PUT https://api.cadrooms.workers.dev/v1/ecos/{ecoId}
Content-Type: application/json

Updates an ECO. Provide only the fields you want to change. Each change is recorded in the ECO's activity history.

To change the ECO's status, set `status` to one of the following values:

- `open`: Moves a draft ECO to open, indicating that it is under review. CAD ROOMS checks out the changed files in the ECO to you, overriding any existing check-outs held by other users. The ECO's reviewers are notified. The request fails if the ECO is not in draft status.
- `draft`: Moves an open ECO back to draft. CAD ROOMS checks in the files that were checked out for the ECO. The ECO's reviewers are notified. The request fails if the ECO is not open.
- `released`: Releases an open ECO. CAD ROOMS advances each changed file to its next major revision in a single new contribution and checks in the files that were checked out for the ECO. The ECO's reviewers are notified. The request fails if the ECO is not open. Sends the `eco.released` event. If the ECO contains changed files, it also sends the `contribution.created` and `revision.released` events.
- `closed`: Closes a draft or open ECO without releasing it. CAD ROOMS checks in the files that were checked out for the ECO. The ECO's reviewers are notified. The request fails if the ECO is already released or closed. Sends the `eco.closed` event.

Required permission: Collaborator or higher in the project.

Plan requirement: Business plan.


Reference: https://docs.cadrooms.com/api-reference/ecos/update-eco

## Authentication

- `Authorization` header (bearer token, required) — An API key associated with your user account and workspace. API requests inherit your existing workspace permissions.
- `Authorization` header (bearer token, required) — The session token of a user signed in to the CAD ROOMS app. Every endpoint accepts it in place of an API key.

## Request

### Path parameters

- `ecoId` (string, required) — Unique identifier of the ECO.

### Body (application/json)

This endpoint expects an EcoUpdate.

- `status` (enum, optional) — Current ECO status. - `draft`: The ECO is being prepared and has not yet been opened for review. - `open`: The ECO is under review. - `released`: The ECO has been released. - `closed`: The ECO has been closed.
  - Allowed values: `draft`, `open`, `released`, `closed`
- `title` (string, optional) — Title of the ECO.
- `description` (string, optional) — Description of the ECO.
- `assigneeId` (string, optional, nullable) — ID of the user responsible for the ECO. Send `null` to remove the assignee.
- `effectiveDate` (datetime, optional) — Date and time the change takes effect.
- `autoRelease` (boolean, optional) — Whether CAD ROOMS releases the ECO after the last reviewer approves it.

## Response

### 200

Returns the updated ECO.

- `id` (string, required) — Unique identifier for the ECO.
- `projectId` (string, required) — ID of the project containing the ECO.
- `displayNumber` (string, required) — ECO number displayed in the CAD ROOMS app (e.g., `ECO-2026-0014`). Unique within a project.
- `title` (string, required) — ECO title displayed in the app.
- `description` (string, required, nullable) — ECO description, or `null` if none was provided.
- `status` (enum, required) — Current ECO status. - `draft`: The ECO is being prepared and has not yet been opened for review. - `open`: The ECO is under review. - `released`: The ECO has been released. - `closed`: The ECO has been closed.
  - Allowed values: `draft`, `open`, `released`, `closed`
- `reasonType` (enum, required) — Reason selected when the ECO was created.
  - Allowed values: `product`, `regulatory`, `document`, `other`
- `autoRelease` (boolean, required) — Indicates whether the files are automatically released once all reviewers approve.
- `assignee` (User, required, nullable) — User responsible for the ECO, or `null` if unassigned.
- `reviewers` (list of EcoReviewer, required) — The people asked to review the ECO, with their decisions.
- `effectiveDate` (datetime, required, nullable) — Date and time the change takes effect, or `null` if not specified.
- `createdBy` (User, required) — User who created the ECO.
- `createdAt` (datetime, required) — Timestamp when the ECO was created.
- `updatedAt` (datetime, required) — Timestamp when the ECO was last updated.

## Errors

### 400 Bad Request Error

The request contains invalid or missing parameters. See `details` for specific validation errors.

- `error` (ErrorError, required)

### 401 Unauthorized Error

The API key is missing, invalid, expired, or revoked.

- `error` (ErrorError, required)

### 403 Forbidden Error

The workspace plan does not support the requested feature.

- `error` (ErrorError, required)

### 404 Not Found Error

The requested resource does not exist or is not accessible to your account. Both cases return the same response.

- `error` (ErrorError, required)

### 429 Too Many Requests Error

The rate limit has been exceeded. Wait for the duration specified in the `Retry-After` header before retrying.

- `error` (ErrorError, required)

### 500 Internal Server Error

An unexpected server error occurred. Retry later. Include the `requestId` when contacting support.

- `error` (ErrorError, required)

## Types

### User

Represents a CAD ROOMS user.

- `id` (string, required) — Unique identifier for the user.
- `displayName` (string, required) — User's display name in the CAD ROOMS app.

### EcoReviewer

A person asked to review an ECO, with their decision.

- `user` (User, required) — Represents a CAD ROOMS user.
- `decision` (enum, required) — The reviewer's decision.
  - Allowed values: `pending`, `approved`, `rejected`

### ErrorError

- `code` (string, required) — Stable error identifier for programmatic error handling. Every endpoint can return the general codes listed on the Errors page. Where a business condition applies, an endpoint returns a more specific code, documented on that endpoint.
- `message` (string, required) — Human-readable error description. May change over time.
- `requestId` (string, required) — Unique request identifier used for troubleshooting. The same value is returned in the `Request-Id` header of every response. Include this when contacting support.
- `details` (list of ErrorErrorDetailsItems, optional) — Optional. Contains field-level validation errors for `400` responses.

### ErrorErrorDetailsItems

- `field` (string, required) — Name of the request field that failed validation.
- `message` (string, required) — Description of the validation issue.

## Examples

**Request**

```json
{
  "assigneeId": "f008611c-2eef-4880-af86-94dbc7ecf9f7",
  "autoRelease": true
}
```

**Response**

```json
{
  "id": "7f4c46a5-6b6e-409e-aec9-416bc7365c3a",
  "projectId": "356d9a6c-31e9-4d9c-ad55-de709172d893",
  "displayNumber": "ECO-2026-0014",
  "title": "Gearbox v2 housing change",
  "description": "Thicken mounting flange",
  "status": "draft",
  "reasonType": "product",
  "autoRelease": true,
  "assignee": {
    "id": "f008611c-2eef-4880-af86-94dbc7ecf9f7",
    "displayName": "Jane Doe"
  },
  "reviewers": [],
  "effectiveDate": null,
  "createdBy": {
    "id": "40a078d1-1f99-459a-a09a-f21da9c5dce4",
    "displayName": "John Doe"
  },
  "createdAt": "2026-10-01T08:12:00Z",
  "updatedAt": "2026-10-01T08:12:00Z"
}
```

**SDK Code**

```python ECOs_updateEco_example
import requests

url = "https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2"

payload = {
    "assigneeId": "f008611c-2eef-4880-af86-94dbc7ecf9f7",
    "autoRelease": True
}
headers = {
    "Authorization": "Bearer <API key>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript ECOs_updateEco_example
const url = 'https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <API key>', 'Content-Type': 'application/json'},
  body: '{"assigneeId":"f008611c-2eef-4880-af86-94dbc7ecf9f7","autoRelease":true}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go ECOs_updateEco_example
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2"

	payload := strings.NewReader("{\n  \"assigneeId\": \"f008611c-2eef-4880-af86-94dbc7ecf9f7\",\n  \"autoRelease\": true\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <API key>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby ECOs_updateEco_example
require 'uri'
require 'net/http'

url = URI("https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <API key>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"assigneeId\": \"f008611c-2eef-4880-af86-94dbc7ecf9f7\",\n  \"autoRelease\": true\n}"

response = http.request(request)
puts response.read_body
```

```java ECOs_updateEco_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2")
  .header("Authorization", "Bearer <API key>")
  .header("Content-Type", "application/json")
  .body("{\n  \"assigneeId\": \"f008611c-2eef-4880-af86-94dbc7ecf9f7\",\n  \"autoRelease\": true\n}")
  .asString();
```

```php ECOs_updateEco_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2', [
  'body' => '{
  "assigneeId": "f008611c-2eef-4880-af86-94dbc7ecf9f7",
  "autoRelease": true
}',
  'headers' => [
    'Authorization' => 'Bearer <API key>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp ECOs_updateEco_example
using RestSharp;

var client = new RestClient("https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <API key>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"assigneeId\": \"f008611c-2eef-4880-af86-94dbc7ecf9f7\",\n  \"autoRelease\": true\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift ECOs_updateEco_example
import Foundation

let headers = [
  "Authorization": "Bearer <API key>",
  "Content-Type": "application/json"
]
let parameters = [
  "assigneeId": "f008611c-2eef-4880-af86-94dbc7ecf9f7",
  "autoRelease": true
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cadrooms.workers.dev/v1/ecos/a3cfa1ac-c576-47d4-a4bd-d304b1ba21b2")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```