cURL
curl --request PUT \ --url https://{appid}.api-{region}.cometchat.io/v3/groups/{guid}/members/{uid} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "scope": "participant" } '
{ "data": { "guid": "supergroup", "uid": "superhero2", "scope": "participant", "joinedAt": 1631690303 } }
Change scope of a member to the group for a given GUID and UID
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
UID of the user on whose behalf the action is performed.
A GUID of a group.
An UID of a user.
A scope for the user.
Changed Scope of Group Members
Show child attributes
Was this page helpful?