Add roles to group

This operation enables you to associate a user and role to a group. The role gives the user specific permissions on the group.

Path Params
int32
required

Client ID.

int32
required

Group ID.

Query Params
string
enum
Defaults to json

Selects the requested response representation format.

Allowed:
Body Params

Holds information needed for adding a user to a group.

number

User id.

string

Username (should be an email address).

string

Role to add.

Responses

400

BadRequestResponse indicates a request with invalid parameters.

401

UnauthorizedResponse signals an unauthorized API access.

403

ForbiddenResponse signals a request for a resource that does not exist or is not authorized.

404

NotFound the requested resource could not be found.

500

GenericError generic error.

Language
Response
Choose an example:
application/json