---
title: "Patch single device endpoint"
method: PATCH
path: "/v1/integrate/devices/endpoints/{protocol}"
tags: ["IoT Integrator"]
---

# Patch single device endpoint

`PATCH /v1/integrate/devices/endpoints/{protocol}`

## Request

- Base URL: `https://api.1nce.com/management-api`
- URL: `https://api.1nce.com/management-api/v1/integrate/devices/endpoints/{protocol}`
- Auth: HTTP bearer

Update endpoint related settings.

## Path parameters

- `protocol` string, required

## Request body

- Patchschema: Patch status for device endpoint request.
  - `active` boolean: Not used.
  - `settings` PatchschemaSettingsInner[], required
    - `name` 'LWM2M_PASSIVE_REPORTING', required: Name of the setting.
    - `state` 'ENABLED' | 'DISABLED', required: State of the setting.

## Response `200`

OK

- PatchResponseschema: Response to the patch device endpoints request.
  - `protocol` string, required: The protocol of the endpoint.
  - `active` boolean, required: The current status of the endpoint.
  - `domain` string, required: The domain of the endpoint.
  - `ipAddresses` string[], required
  - `port` number, required: The port of the endpoint.
  - `securePort` number: The port of the endpoint.
  - `settings` GetResponseschemaSettingsInner[], required
    - `name` string, required: Name of the setting.
    - `state` 'ENABLED' | 'DISABLED', required: State of the setting.
    - `description` string: Description of the setting.

## Other responses

- `403`: Forbidden
- `404`: Not Found Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/1nce/apis/1nce-os.md) - [All operations](https://skmtc.dev/1nce/apis/1nce-os/llms.txt) - [OpenAPI document](https://skmtc.dev/1nce/apis/1nce-os/revisions/f1aabbc6aeea?raw)
