Path Parameters
AppID in which the extension has to be enabled/disabled
Body
application/json
Response
200 - application/json
Created App
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.
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": []
}
}AppID in which the extension has to be enabled/disabled
Created App
Show child attributes
Was this page helpful?