---
title: "Replace Dependencies Setting by ID"
method: PUT
path: "/dependencies/settings/{id}"
tags: ["Dependencies"]
---

# Replace Dependencies Setting by ID

`PUT /dependencies/settings/{id}`

Replace an item by ID with (full update)

## Path parameters

- `id` string, objectid, required — The ID of the item to update

## Request body

- ReplaceDependenciesSettingByIdInput
  - `data` ModelsDependencyConfig, required — The data to update
    - `_id` string, objectid — ID
    - `created_at` string, date-time — Created timestamp
    - `created_by` string, objectid — Created by
    - `exec_cmd` string — Exec cmd
    - `key` string — Type
    - `name` string — Name
    - `pkg_cmd` string — Pkg cmd
    - `pkg_src_url` string — Pkg src url
    - `search_ready` boolean
    - `setup` boolean
    - `total_dependencies` integer
    - `updated_at` string, date-time — Updated timestamp
    - `updated_by` string, objectid — Updated by

## Response `200`

OK

- ControllersResponseGithubModelsDependencyConfig
  - `data` ModelsDependencyConfig — The data to update
    - `_id` string, objectid — ID
    - `created_at` string, date-time — Created timestamp
    - `created_by` string, objectid — Created by
    - `exec_cmd` string — Exec cmd
    - `key` string — Type
    - `name` string — Name
    - `pkg_cmd` string — Pkg cmd
    - `pkg_src_url` string — Pkg src url
    - `search_ready` boolean
    - `setup` boolean
    - `total_dependencies` integer
    - `updated_at` string, date-time — Updated timestamp
    - `updated_by` string, objectid — Updated by
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

## Changes

- **2026-07-17** `c7a4715c1f13` — 2 breaking, 1 warning, 9 info
  - added the new required request property `data`
  - for the `path` request parameter `id`, the format changed from no format to `objectid`
  - removed the optional property `code` from the response with the `200` status
  - api operation id `replace_dependencies_setting_by_id` was added
  - …8 more
- **2025-03-03** `14e4eafea538` — 1 warning
  - removed the optional property `data` from the response with the `200` status
- **2025-03-02** `526e5bdf6dee` — 2 breaking, 16 warning, 6 info
  - request body became required
  - added the pattern `^[0-9a-fA-F]{24}$` to the `path` request parameter `id`
  - removed the request property `data`
  - removed the optional property `data/_id` from the response with the `200` status
  - …20 more

[Change history](https://skmtc.dev/crawlab-team/apis/crawlab-api/changes/dependencies/settings/:id/put.md)

---

[API](https://skmtc.dev/crawlab-team/apis/crawlab-api.md) · [All operations](https://skmtc.dev/crawlab-team/apis/crawlab-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/crawlab-team/crawlab-api/revisions/c7a4715c1f13/schema)
