Skip to main content
PATCH
Update Member Role
Changes a member’s role. Only space admins can perform this action.

Path Parameters

spaceId
string
required
UUID of the space.
memberId
string
required
UUID of the membership record to update.

Body Parameters

role
string
required
New role: "admin", "moderator", or "member".

Response

message
string
Confirmation message.
membership
object
Updated membership with id, role, status, joinedAt, and userId.
See also: useUpdateMemberRole