# Update company note
You can update a specific note connected to a specific company.
PATCH
/companies/:company_id/notes/:note_id/
Attributes | Type | Required | Description |
---|---|---|---|
company_id | integer | yes | A unique identifier for the company which is given by User.com automatically. |
note_id | integer | yes | A unique identifier for the note which is given by User.com automatically. |
note | string | yes | A text of the note. |
# Request
- CURL
- JavaScript
- PHP
- Python
curl -X PUT -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2" -H "Content-Type: application/json" -d '{
"note": "updated content"
}' "https://<your_app_subdomain>.user.com/api/public/companies/:company_id/notes/:note_id/"
# Response
{
"id": 27791,
"note": "updated content",
"author": 382
}