discovery

Change a member's role (owner only)

Owner only — an admin cannot promote or demote anyone, including themselves. Cannot demote the organization's last owner (409 last_owner); promote someone else first.

patch/v1/members/{memberId}

Request

  • Base URL: https://postbag.dev
  • URL: https://postbag.dev/v1/members/{memberId}
  • Auth: HTTP bearer

Path parameters

memberIdstring required

The Membership id (not the user id).

Request body

role'owner' | 'admin' | 'member' required

Response

ok

idstring required
role'owner' | 'admin' | 'member' required
joined_atstring required

Example response

{
  "id": "fm_8f3kq2",
  "joined_at": "2026-08-21T09:00:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.