---
title: "Set device owner"
method: POST
path: "/v2/device/{id}/owner/{ownerUid}"
tags: ["management"]
---

# Set device owner

`POST /v2/device/{id}/owner/{ownerUid}`

## Request

- Base URL: `https://app.ninjarmm.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ninjarmm.com/v2/device/{id}/owner/{ownerUid}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/docs/v2/device/:id/owner/:ownerUid/post.ts> (a function with typed inputs; its response is checked against the schema)

Sets the owner of the device.

## Path parameters

- `id` integer, required
- `ownerUid` string, uuid, required

## Response `default`

default response

## Changes

- **2025-01-07** `c17cc5d9bb23`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/changes/v2/device/:id/owner/:ownerUid/post.md)

---

[API](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0.md) - [All operations](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/ninjarmm/apis/ninjaone-public-api-2-0/revisions/5ce571d1bb71?raw)
