---
title: "Mark a tenant as Unison's own, or not (operators only)"
method: PUT
path: "/v1/admin/tenants/{tenant}/internal"
tags: ["admin"]
---

# Mark a tenant as Unison's own, or not (operators only)

`PUT /v1/admin/tenants/{tenant}/internal`

## Request

- Base URL: `https://api.sixminute.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sixminute.ai/v1/admin/tenants/{tenant}/internal`
- Auth: HTTP bearer

Sets `tenants.internal`. Setting it false withdraws the raw archive flag in the same statement, so no firm is left holding it.

## Path parameters

- `tenant` string, required

## Request body

- object
  - `internal` boolean, required

## Response `200`

The mark and the raw archive flag as they now stand.

- object
  - `tenant` object, required
    - `id` string, required
    - `name` string, required
    - `internal` boolean, required
    - `raw_archive` boolean, required

## Other responses

- `400`: The body, query or path did not validate; `errors` lists the fields.
- `401`: No bearer token, or one that does not verify or has expired.
- `403`: The token verified but may not do this: no organisation, not provisioned, wrong role, or a device problem.
- `404`: No such row for this tenant.
- `503`: A capability this service was not configured with, or a practice system that could not be reached; the `type` says which.

---

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