Updating Member Role (PATCH)

Endpoint: PATCH /api/users.php

Changes a member's role within the club (requires write permissions and admin role). The club owner's role can't be changed this way.

Body: user_id (required), role (admin / dispatcher / pilot / inactive).

Setting role to inactive suspends that member's access everywhere (web and API) without removing them from the club - their upload documents, past flights, etc. stay intact, they just can't sign in or be queried against until reactivated. On Basic tier, any role other than inactive is forced to dispatcher, and reactivating someone (inactive → any other role) still counts against the 3-active-member cap.

← Adding Member (POST)
Removing Member (DELETE) →