# Update data

You can update data with a PUT request as shown below. Replace `your api path, your api key,` and `your end point` with your API path, API key, and endpoint.&#x20;

Update data

&#x20;`curl -X PUT -H "Content-Type: application/json" \ -H "API-TOKEN: your api key" \ -d "{ \"text\": \"Hi from hatchapps updated!\"}" \ https://console.hatchapps.com/api/your api path/your endpoint path/data id`<br>

Here's an Example

&#x20;`curl -X PUT -H "Content-Type: application/json" \ -H "API-TOKEN: 42270160762429063" \ -d "{ \"text\": \"Hi from hatchapps updated!\"}" \ https://console.hatchapps.com/api/notes/test/635303154`
