**Version: 202201**

# Update Theme File

**PATCH** `/openapi/2022-01/themes/:theme_id/doc`

Update the content of a specific theme file in the selected theme.

## Request

**Path Parameters**

- `theme_id` string (required)

  Theme's ID

**application/json**

**Body | Example**

**Body**

- `RAW_BODY` string

  **Default value:** `{"doc":{"type":"assets","location":"test.js","content":"update"}}`

```json
{
  "RAW_BODY": "{\"doc\":{\"type\":\"assets\",\"location\":\"test.js\",\"content\":\"update\"}}"
}
```

## Responses

**200**

200

**application/json**

No schema
