Assigns role to a user on top of a Diffgram object.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…

Either the default_role_name or the role_id should be provided as parameters.

For assigning default roles please see the list of Diffgram Default Roles

Body Params
string
required

the object type to assign the role in

int32
required

The object ID to assign the role in

int32

The role ID to be assigned.

int32
required

The member ID to assign the role to.

string

The default role name to be assigned.

Responses

Language
Credentials
:
Click Try It! to start a request and see the response here! Or choose an example:
application/json