Groups

Add a user's role

๐Ÿ”‘

Required OAuth scope: groups:write.

Adds the given role to the given user in the given group.

post/api/v2/groups/{groupId}/{role}/{userId}

Request

  • Base URL
    https://app.360learning.com
  • URL
    https://app.360learning.com/api/v2/groups/{groupId}/{role}/{userId}
  • Auth
    OAuth 2
    Client credentials
    Token URL: /api/v2/oauth2/token

Path parameters

groupIdstring ObjectId required
Example:507f1f77bcf86cd799439011

The unique ID of the group.

role'admin' | 'analyst' | 'coach' | 'contributor' | 'editor' | 'learner' | 'user-admin' required

The role to add to the user.

userIdstring ObjectId required
Example:507f1f77bcf86cd799439011

The unique ID of the user.

Headers

360-api-version'v2.0' required

The version of the API.

Response

Adds the given role to the given user in the given group.

Changes

No recorded changes to this operation across all 2 revisions of this API.