members

Update Role

Promote/demote a member. Owners only.

Last-owner invariant: cannot demote the only active owner.

post/v1/members/{user_id}/role

Path parameters

user_idstring required

Request body

rolestring required

Response

Successful Response

idstring uuid required
emailstring required
namestring required
rolestring required
membership_statusstring required
last_seen_atstring date-time nullable
created_atstring date-time required
approved_atstring date-time nullable

Changes

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