# /api/item/refreshPalette

**`POST`** Re-analysis the color of the file. When changes to the original file were made, you can call this function to refresh the Color Analysis. <br>

| Parameter | Description   |
| --------- | ------------- |
| id        | The item's ID |

**Sample Code:**

```javascript
var data = {
    "id": "KBKE02W8V0YWD"
};

var requestOptions = {
  method: 'POST',
  body: JSON.stringify(data),
  redirect: 'follow'
};

fetch("http://localhost:41595/api/item/refreshPalette", requestOptions)
  .then(response => response.json())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));
```

**Results Returned:**

```javascript
{
    "status": "success"
}
```
