---
title: "Grant Owner"
method: POST
path: "/api/agents/{agent_id}/owners"
tags: ["agents"]
---

# Grant Owner

`POST /api/agents/{agent_id}/owners`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/agents/{agent_id}/owners`
- Auth: none declared

Grant ownership of a thinqOS agent to another PERSON identity (owner = view + edit + delete +
billing). Caller must be an active owner. Idempotent: re-granting an existing owner is a no-op
and a viewer-level grant is promoted to owner. Only person identities can own agents.

## Path parameters

- `agent_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- GrantOwnerBody
  - `owner_identity_id` string, uuid, required

## Response `201`

Successful Response

- AgentOwnerResponse
  - `owner_identity_id` string, uuid, required
  - `granted_at` string, required
  - `granted_by` string, uuid, nullable, required
  - `revoked_at` string, nullable, required
  - `revoked_by` string, uuid, nullable, required
  - `source` 'folder_admin' | 'controller'

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/ce2c2ce318b1?raw)
