> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Change a batch test question

PATCH`/messenger/{messengerId}/agent-tests/questions/{testId}`

`question` and `expect` (null for none): the fields given change.

## Path Parameters

`messengerId`

numberrequired

`testId`

numberrequired

## Response

200

**cURL**

```bash
curl --request PATCH \
  --url 'https://api.workover.io/messenger/{messengerId}/agent-tests/questions/{testId}'
```

**JavaScript**

```javascript
const options = {
  method: 'PATCH'
};

fetch('https://api.workover.io/messenger/{messengerId}/agent-tests/questions/{testId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/messenger/{messengerId}/agent-tests/questions/{testId}"

response = requests.patch(url)

print(response.text)
```
