Remove a user's role

Required OAuth scope: groups:write.

Removes the given role from the given user in the given group. The learner role is also removed from all public subgroups down to first private excluded.

Path Params
string
required

The unique ID of the group.

string
enum
required

The role to withdraw from the user.

Allowed:
string
required

The unique ID of the user.

Headers
string
enum
required

The version of the API.

Allowed:
Responses
204

Removes the given role from the given user in the given group.

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