---
title: "Set Admin Provider Key Owner"
method: PUT
path: "/api/admin/health/providers/{provider}/owner"
tags: ["admin-provider-health"]
---

# Set Admin Provider Key Owner

`PUT /api/admin/health/providers/{provider}/owner`

## 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/admin/health/providers/{provider}/owner`
- Auth: none declared

Categorize an existing platform key under an organization (TOS-7385).

Changes the owner only. It never reads, replaces or returns the key itself,
so it needs no key and no probe.

## Path parameters

- `provider` string, required

## Request body

- SetPlatformKeyOwnerRequest
  - `owner_tenant_id` string, uuid, required

## Response `200`

Successful Response

- AdminProviderHealthItem
  - `provider` string, required
  - `display_name` string, required
  - `configured` boolean, required
  - `source` string, nullable, required
  - `status` 'healthy' | 'degraded' | 'unhealthy' | 'unknown', required
  - `error_class` string, nullable, required
  - `message` string, nullable, required
  - `http_status` integer, nullable, required
  - `latency_ms` integer, nullable, required
  - `last_probed_at` string, date-time, nullable, required
  - `last_success_at` string, date-time, nullable, required
  - `last_failure_at` string, date-time, nullable, required
  - `key_fingerprint` string, nullable, required
  - `active_key_id` string, nullable, required
  - `owner_tenant_id` string, uuid, nullable, required
  - `owner_tenant_slug` string, nullable, required
  - `owner_tenant_name` string, nullable, required
  - `created_at` string, date-time, nullable, required
  - `rotated_at` string, date-time, nullable, required
  - `last_used_at` string, date-time, nullable, required

## 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/5387b4ded614?raw)
