---
title: "Last owner required (last-owner-required)"
description: "PubNio last-owner-required problem, HTTP 409: A role change or removal would leave the workspace without an owner."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Last owner required (last-owner-required)

HTTP 409 Last owner required. A role change or removal would leave the workspace without an owner.

## When it happens

10 of 175 API operations declare it.

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/last-owner-required/",
  "status": 409,
  "title": "Last owner required",
  "detail": "A workspace must keep at least one owner.",
  "code": "last_owner_required",
  "nextAction": "Promote another member to owner first.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field        | Type   | Always present |
| ------------ | ------ | -------------- |
| `nextAction` | string | Yes            |

## Recovery for agents

- Do what `nextAction` says.

## Retryable

No: the SDKs mark HTTP 409 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [Workspace members problems](https://pubnio.com/docs/problems/#workspace-members)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/last-owner-required/index.mdx
