Change a member's role
set_member_roleChanges a member's platform role: Owner, Admin, Member or Billing. Mirrors the Platform role select on Settings › Members; needs Owner or Admin, and only an Owner sets or clears Owner. Making someone Owner transfers ownership: they become the Owner and the person you act for becomes an Admin. A pending invitation cannot become Owner, and the last Owner cannot step down. Destructive: call without confirm first, put the sentence it answers to the person, and pass confirm: true only if they agree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Owner, Admin, Member or Billing. | |
| confirm | Yes | True only once the person has agreed to the change. | |
| memberId | Yes | The member's id, as list_members returns it. |