{
"opencollection": "1.0.0",
"info": {
"name": "Coveo Activity Activities Groups API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "oauth2",
"flow": "authorization_code",
"authorizationUrl": "https://platform.cloud.coveo.com/oauth/authorize",
"accessTokenUrl": "https://platform.cloud.coveo.com/oauth/token",
"credentials": {
"clientId": "{{clientId}}",
"clientSecret": "{{clientSecret}}"
}
}
},
"items": [
{
"info": {
"name": "Groups",
"type": "folder"
},
"items": [
{
"info": {
"name": "Show Group Details",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
},
{
"name": "groupId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [group](https://docs.coveo.com/en/2867/).**Example:**`myorganization-bfghkjfjb674jh5egjk`"
}
]
},
"docs": "Show the details of a [group](https://docs.coveo.com/en/2867/) in an organization.
Privilege required
\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n "
},
{
"info": {
"name": "Update Group",
"type": "http"
},
"http": {
"method": "PUT",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
},
{
"name": "groupId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [group](https://docs.coveo.com/en/2867/).**Example:**`myorganization-bfghkjfjb674jh5egjk`"
},
{
"name": "sendEmailToInvitedUsers",
"value": "",
"type": "query",
"description": "Whether to send an email to the users that are invited to the [group](https://docs.coveo.com/en/2867/)."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Updates a [group](https://docs.coveo.com/en/2867/) in an organization.
Privilege required
\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"EDIT\",\"targetId\":\"{groupId}\"}\n```\n "
},
{
"info": {
"name": "Delete Group",
"type": "http"
},
"http": {
"method": "DELETE",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
},
{
"name": "groupId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [group](https://docs.coveo.com/en/2867/).**Example:**`myorganization-bfghkjfjb674jh5egjk`"
}
]
},
"docs": "Deletes a [group](https://docs.coveo.com/en/2867/) in an organization.
Privilege required
\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"EDIT\",\"targetId\":\"{groupId}\"}\n```\n "
},
{
"info": {
"name": "List Groups",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
}
]
},
"docs": "Lists the [groups](https://docs.coveo.com/en/2867/) of an organization.
Privilege required
\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n "
},
{
"info": {
"name": "Create Group",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
},
{
"name": "sendEmailToInvitedUsers",
"value": "",
"type": "query",
"description": "Whether to send an invitation email alongside the invite."
},
{
"name": "canEditItself",
"value": "",
"type": "query",
"description": "Whether the new [group](https://docs.coveo.com/en/2867/) can edit itself."
}
],
"body": {
"type": "json",
"data": "{}"
}
},
"docs": "Creates a [group](https://docs.coveo.com/en/2867/) in an organization.
Privilege required
\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"CREATE\",\"targetId\":\"*\"}\n```\n "
},
{
"info": {
"name": "List Privileges Granted by Group to Current User",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId/privileges/exclusive/me",
"params": [
{
"name": "organizationId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`"
},
{
"name": "groupId",
"value": "",
"type": "path",
"description": "The unique identifier of the target [group](https://docs.coveo.com/en/2867/).**Example:**`myorganization-bfghkjfjb674jh5egjk`"
}
]
},
"docs": "Lists the [privileges](https://docs.coveo.com/en/228/) that are granted exclusively by the [group](https://docs.coveo.com/en/2867/) to the current user.
Privilege required
\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n "
}
]
}
],
"bundled": true
}