---
title: "Update device notes by serial number"
method: PATCH
path: "/network-monitoring/v1/devices/{serial-number}"
tags: ["Devices"]
---

# Update device notes by serial number

`PATCH /network-monitoring/v1/devices/{serial-number}`

## Request

- Base URL: `https://sso.common.cloud.hpe.com`
- URL: `https://sso.common.cloud.hpe.com/network-monitoring/v1/devices/{serial-number}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://sso.common.cloud.hpe.com/as/token.oauth2`
- TypeScript: <https://skmtc.dev/arubanetworks/apis/authorization/docs/network-monitoring/v1/devices/:serial-number/patch.ts> (a function with typed inputs; its response is checked against the schema)

This API endpoint updates the notes for a network device based on the provided serial number. To delete the notes, please set the notes to empty string.

## Path parameters

- `serial-number` string, const, required: The device serial number.

## Request body

- UpdateDeviceNotesRequestV1
  - `notes` string, required: Notes to be updated for the device. This field contains user-provided notes.

## Response `200`

Response containing the updated device notes.

- UpdateDeviceNotesData
  - `notes` string, required: Updated notes for the device.

## Other responses

- `400`: Invalid input received.
- `401`: Unauthorized. Authentication credentials are required or invalid.
- `403`: Forbidden: Access is denied.
- `404`: Not Found error.
- `429`: Too Many Requests. The user has sent too many requests in a given amount of time.
- `500`: Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/arubanetworks/apis/authorization.md) - [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) - [OpenAPI document](https://skmtc.dev/arubanetworks/apis/authorization/revisions/74c95058b11f?raw)
