Update Group Member Role
This API helps in changing the role of a group member.
Note:
Only the group admins can change the members' roles in the group.
Endpoints
OAuth Scope
WorkDrive.groups.UPDATECopied!
curl --request PATCH \
--url https://www.zohoapis.com/workdrive/api/v1/groupmembers/{group_member_id} \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: application/vnd.api+json' \
--data '{"data":{"attributes":{"role_id":"30"},"type":"groupmembers"}}'Path Parameters
group_member_idstring(Required)
The unique ID of the group member
Request Body
application/vnd.api+jsondataJSON Object(Required)
Hide Sub-Attributes
attributesJSON Object(Required)
Hide Sub-Attributes
role_idinteger(Required)
Allowed values for group member role:
typestring(Required)
The JSON:API resource type. Always "groupmembers".
Allowed Values :
Show Values ▾
groupmembersCopied!
Copy all as JSON Array
{
"data": {
"attributes": {
"role_id": "30"
},
"type": "groupmembers"
}
}
{
"data": {
"id": "ly9zmae16b43c258f458a9a57ac02c4f8d763-2774428000000002023",
"type": "groupmembers",
"attributes": {
"member_id": 2774428000000002000,
"email_id": "reyansh.ahuja@zylker.com",
"added_time": "Apr 13, 12:25 AM",
"capabilities": {
"can_read": true,
"can_delete": true,
"can_edit": true,
"can_rename": true,
"can_add_members": true
},
"display_name": "Zylker Creation",
"modified_time": "Apr 13, 12:27 AM",
"avatar_url": "https://contacts.zoho.com/file?t=user&ID=747938058&fs=thumb&nps=404",
"group_id": "ly9zmae16b43c258f458a9a57ac02c4f8d763-2774428000000002021",
"role_id": 30,
"added_by": "Zylker Creation",
"modified_by": "Zylker Creation",
"member_zuid": "747938058",
"status": 1
},
"links": {
"self": "https://www.zohoapis.com/workdrive/groupmembers/ly9zmae16b43c258f458a9a57ac02c4f8d763-2774428000000002023"
}
}
}
{
"errors": [
{
"id": "I007",
"title": "Unauthorized App"
}
]
}
{
"errors": [
{
"id": "F000",
"title": "General exception"
}
]
}
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.