Set User Role

Set the user's direct access role for this deal. The user will always end up with exactly one direct role for the deal.

Authentication

AuthorizationBearer

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

Path Parameters

deal_idintegerRequired
user_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 deal: reader, editor, or admin

Allowed values:

Errors