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
{
"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
nextActionsays.
Retryable
No: the SDKs mark HTTP 409 not retryable.
Limits
- Match on
typeorcode, not ondetail.