---
title: "Replace Dependency Config"
method: PUT
path: "/dependencies/configs/{lang}"
tags: ["Dependencies"]
---

# Replace Dependency Config

`PUT /dependencies/configs/{lang}`

Replace the config of a dependency (full update)

## Path parameters

- `lang` string, required — The programming language of the dependency configuration

## Request body

- ReplaceDependencyConfigInput
  - `exec_cmd` string, required — The command to execute
  - `pkg_cmd` string, required — The package command
  - `pkg_src_url` string — The package source URL

## Response `200`

OK

- ControllersVoidResponse
  - `error` string
  - `message` string
  - `status` string

## Other responses

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

---

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