Set User Group Role

Set the user's direct role within a group. Mirrors the deal membership pattern.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path Parameters

user_idintegerRequired
group_idintegerRequired

Request

This endpoint expects an object.
role_nameenumOptional
The role to set for the user
Allowed values:

Response

Successful Response
userobject

Minimal user response for sharing contexts - excludes sensitive fields like email

roleenum

User’s access level for this group: reader, editor, or admin

Allowed values:

Errors