Group Members
Update a group member
Changed onUpdate a member's role and page limit. Only group owners can update members. Send limit=no limit to clear an existing member limit.
post/api/v1/groups/edit-member/{id}/
Request
- Base URLhttps://plagiarismcheck.org
- AuthAPI key in header X-API-TOKEN
Path parameters
idinteger required
Numeric group member ID.
Request body application/x-www-form-urlencoded
Example request
{
"role": "teacher"
}Response
The request succeeded and returned the group member.
Example response
{
"success": true,
"data": {
"id": 3132945,
"role": 2,
"limit": 100,
"created_at": 1512638171000,
"user": {
"id": 3132945,
"name": "John Doe",
"email": "student@example.com",
"created_at": 1512638171000,
"updated_at": 1512638171000,
"allowed_languages": [
"en"
],
"balance_type": 1,
"avatar": "https://randomuser.me/api/portraits/lego/1.jpg",
"is_email_verification_needed": true
}
}
}Changes
- breaking
the
//response's property format changed fromemailto no format for status - info
added the optional property
//to the response with the status
- breaking