---
title: "update resource"
method: POST
path: "/w/{workspace}/resources/update/{path}"
tags: ["resource"]
---

# update resource

`POST /w/{workspace}/resources/update/{path}`

## Path parameters

- `workspace` string, required
- `path` string, required

## Request body

- EditResource
  - `path` string — The path to the resource
  - `description` string — The new description of the resource
  - `value` unknown
  - `resource_type` string — The new resource_type to be associated with the resource
  - `labels` string[]
  - `ws_specific` boolean

## Response `200`

resource updated

---

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