HTTP 400, workspaces and membership
TENANT-005
An organization keeps at least one owner.
What it means
The change would leave the workspace with no owner, which would make billing and deletion unreachable.
What to do
Promote another member to owner first, or transfer ownership, then repeat the change.
The response
Every failure arrives in this shape. The trace_id is worth keeping: it identifies the request in our logs and carries nothing about your data.
{
"type": "https://shiftgraph.dev/errors/TENANT-005",
"title": "An organization keeps at least one owner.",
"status": 400,
"code": "TENANT-005",
"trace_id": "01J8Z…"
}Related codes
Organizations, roles, invitations, and the org-level policies an administrator can set. A workspace you cannot see returns Not found rather than Forbidden, so that membership itself is never disclosed.
- TENANT-001Not found.HTTP 404
- TENANT-002This needs a higher role.HTTP 403
- TENANT-003That invitation is no longer valid.HTTP 400
- TENANT-004That slug is taken.HTTP 409
- TENANT-006Already a member of this organization.HTTP 409
- TENANT-007Blocked by your organization's IP allowlist.HTTP 403
- TENANT-008Your organization requires single sign-on.HTTP 403
- TENANT-009A digest needs at least one connected dependency.HTTP 400
The full error reference, or write to support@shiftgraph.dev with the trace id.