# Update an existing record.

`PUT /api/task-versions/{id}`

Authentication: no security requirement declared for this operation.

Parameters:

- `id` (path, string, required)
  Type: string

Responses:

- 202: The record has been successfully edited.

- 400: Invalid input, The response body may contain clues as to what went wrong.

- 404: Record not found

## Examples

### cURL

```bash
curl -X PUT 'http://localhost:3000/api/task-versions/string'
```

### JavaScript

```javascript
const response = await fetch('http://localhost:3000/api/task-versions/string', {
  method: 'PUT',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.put('http://localhost:3000/api/task-versions/string')
print(response.text)
```
