409 Conflict Request error
Last organization owner
errorCode: ERR-0067 What it means
Cannot remove or demote the last owner of an organisation.
What you can do
Make another member an owner first, then retry.
Example response
{
"type": "https://docs.atlas.ilionx.dev/errors/ERR-0067", "title": "Conflict", "status": 409, "detail": "Cannot remove or demote the last owner of an organisation.", "instance": "/v1/…", "errorCode": "ERR-0067"}Branch on errorCode, not on detail: the code is stable, the wording may change.