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