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
notifybooleanOptionalDefaults to false
When true, send an email notification to the user about the shared deal

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

Errors

422
Unprocessable Entity Error