Archive, unarchive, or supersede a note on a company.

Mirrors the contact endpoint. See PATCH /api/v1/network/contacts/{id}/notes/{noteId} for body shape, semantics, and retry-safety notes.

Path Parameters
  • id
    Type: string
    required

    Company ID

  • noteId
    Type: string
    required

    Note ID (the action id returned by the actions endpoint)

Headers
  • If-Match
    Type: string

    Required ETag value from a previous GET response. Missing -> 428; mismatched -> 412.

Body·
required

Action discriminator + optional supersede payload

Body for PATCH /api/v1/network/{contacts|companies}/{id}/notes/{noteId}. Body-discriminated: action selects archive / unarchive / supersede; the supersede object carries the new-revision payload when applicable and is ignored for archive / unarchive.

  • action
    Type: string
    required

    Required verb. One of: archive, unarchive, supersede. Unknown values return 400 ValidationFailed.

  • supersede
    Type: object · nullable

    Required when action == "supersede"; ignored otherwise. Every field is a partial-update wrapper: omitted properties inherit from the predecessor, and explicit null clears the field.

Responses
  • 204

    Note mutated successfully

  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
  • application/problem+json
Request Example for patch/api/v1/network/companies/{id}/notes/{noteId}
curl 'https://app.propstreet.com/api/v1/network/companies/{id}/notes/{noteId}' \
  --request PATCH \
  --header 'If-Match: ' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "action": "",
  "supersede": {
    "message": null,
    "fileId": null,
    "contentFormat": null
  }
}'
No Body