---
title: "Example of PUT operation"
method: PUT
path: "/autofeeder/{cat}"
tags: ["Autofeeder"]
---

# Example of PUT operation

`PUT /autofeeder/{cat}`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/autofeeder/{cat}`
- Auth: API key in header `X-App-Token`
- TypeScript: <https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/docs/autofeeder/:cat/put.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Auto feed enabled

## Other responses

- `400`: The request was not compliant with the documentation (eg. missing fields, etc)
- `500`: The server encountered an internal error. Further info in server logs

---

[API](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated.md) - [All operations](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/llms.txt) - [OpenAPI document](https://skmtc.dev/sapienzaapps/apis/fantastic-coffee-decaffeinated/revisions/d003dbf3b487?raw)
