Skip to main content

Partial update of device

PATCH 

/devices/v1/:id

experimental

This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true to use this endpoint.

Use this API to update a device using a JSON Patch payload.

Patchable fields are owners, description, and environment. A patch that targets any other field, including the discovered device attributes, returns 400.

owners.primary is a single IDENTITY reference. owners.secondary holds either up to ten IDENTITY references or exactly one GOVERNANCE_GROUP reference, not both; any other combination returns 400.

A caller who owns the device can update it. Other callers need the idn:mis-identity:update right.

The ID must be a UUID; any other value returns 400. When no device exists for the ID, this API returns 400 for callers who hold the idn:mis-identity:update right and 404 for other callers.

When Machine Identity Security is not enabled for the tenant, this API returns 404. When the devices API is not enabled for the tenant, this API returns 403.

Request​

Responses​

Updated device object.