flowawsome@flowaws/node-sdk
All error codes

CANNOT_DEMOTE_SELF

HTTP status: 403

Typical message

You cannot remove your own admin role — ask another admin to do it

What to do

The operations that can return an error, and their request shapes, are in the API reference.