---
title: "Update a company note"
method: PATCH
path: "/company-notes"
tags: ["Notes", "Companies"]
---

# Update a company note

`PATCH /company-notes`

## Request

- Base URL: `https://api.equipmentshare.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equipmentshare.com/company-notes`
- Auth: HTTP bearer

Updates a company note with administrator authorization checks. Only the author may change a private note. Omitted visibility is preserved; public notes cannot become private.

## Request body

- CompanyNoteUpdateValidation
  - `company_id` integer
  - `is_pinned` boolean
  - `note_description` string, nullable
  - `note_text` string, nullable
  - `note_type_id` integer
  - `user_id` integer
  - `visibility` 'public' | 'private': Omission preserves visibility. Private is allowed only for an already private note.

## Response `200`

- CompanyNote
  - `company_id` integer
  - `company_note_id` integer
  - `company_note_type` CompanyNoteType, nullable
    - `company_note_type_id` integer
    - `name` string
  - `date_created` string, date-time
  - `date_updated` string, date-time, nullable
  - `is_pinned` boolean
  - `note_description` string, nullable
  - `note_text` string, nullable
  - `note_type_id` integer
  - `updated_by` integer, nullable
  - `user` UserNote, nullable
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `user_id` integer
  - `user_id` integer
  - `visibility` 'public' | 'private'

## Other responses

- `400`: Invalid body or public-to-private visibility transition
- `403`: Not authorized
- `404`: Company note not found

## Changes

- **2026-11-23** `3216dc24760a`: 1 breaking, 2 info
  - added required request body
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `400`

[Operation history](https://skmtc.dev/equipmentshare/apis/es-api/changes/company-notes/patch.md)

---

[API](https://skmtc.dev/equipmentshare/apis/es-api.md) - [All operations](https://skmtc.dev/equipmentshare/apis/es-api/llms.txt) - [OpenAPI document](https://skmtc.dev/equipmentshare/apis/es-api/revisions/40651e1558ac?raw)
