cURL
curl --request POST \ --url https://apimgmt.cometchat.io/apps/{appId}/collaborators \ --header 'Content-Type: application/json' \ --header 'key: <key>' \ --header 'secret: <secret>' \ --data '{ "admins": [ "<string>" ], "moderators": [ "<string>" ], "collaboratorsToRemove": [ "<string>" ] }'
{ "data": { "collaboratorsToRemove": [], "admins": { "admin1@cometchat.com": { "success": true }, "admin2@cometchat.com": { "success": true } }, "developers": { "developer1@cometchat.com": { "success": true } }, "moderators": [] } }
Adds or removes collaborators for an app.
Authorization Key
Authorization Secret
AppID in which the extension has to be enabled/disabled
Array of email IDs to designate as administrators for the team.
Array of email IDs to assign as moderators for the team.
Array of email IDs to remove from team collaboration.
Created App
Show child attributes
Was this page helpful?