> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getmateo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Data

> Using the PATCH method, you can update rows.

To update a row or rows in a table, use the PATCH verb. Use Horizontal Filtering to specify which record(s) to update. Here is an example query activating a webhook.

```bash theme={null}
curl "https://api.getmateo.com/api/v1/webhook?id=1234" \
 -X PATCH -H "Content-Type: application/json" \
 -d '{ "active": true }'
```

```bash theme={null}
HTTP/1.1 204 No Content
```

No response body will be returned by default but you can add a `select` query parameter to select the columns that should be returned:

```bash theme={null}
curl "https://api.getmateo.com/api/v1/webhook?id=1234&select=id,name,active" \
 -X PATCH -H "Content-Type: application/json" \
 -d '{ "active": true }'
```

```bash theme={null}
HTTP/1.1 200 OK
```

```json theme={null}
{
  "id": 1234,
  "name": "My Webhook",
  "active": true
}
```
