---
title: "Ensure Lead Tenant Ownership"
method: POST
path: "/public_builder/leads/{lead_id}/ensure-ownership"
tags: ["public_builder"]
---

# Ensure Lead Tenant Ownership

`POST /public_builder/leads/{lead_id}/ensure-ownership`

Ensure authenticated user has ownership of the tenant associated with a lead.

If the user is not part of the tenant AND the tenant is UNCLAIMED:
- Adds the user to the tenant
- Marks the tenant as ACTIVE

This endpoint is idempotent - safe to call multiple times.
Required for authenticated users who return to complete onboarding.

## Path parameters

- `lead_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/public_builder/leads/:lead_id/ensure-ownership/post.md)

---

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