Update member role or billing status
Members View as Markdown
PATCH/api/user/{userId}
Changes either role or billingStatus (not both) along the member state transition table. Owner role changes are rejected here; use the transfer-ownership flow.
Parameters
userIdintegerpathRequired- ID of the user to update.
Responses
200Updated member state400Transition not allowed for the current member state401Authentication is required403Admin only404User not found in this space409The member state changed concurrently