{ "opencollection": "1.0.0", "info": { "name": "Coveo Activity Activities Group Realms 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": "Group Realms", "type": "folder" }, "items": [ { "info": { "name": "List Realms", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId/realms", "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 realms of a [group](https://docs.coveo.com/en/2867/).

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Add Realm", "type": "http" }, "http": { "method": "POST", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId/realms", "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`" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a realm to a [group](https://docs.coveo.com/en/2867/).

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"EDIT\",\"targetId\":\"{groupId}\"}\n```\n
" }, { "info": { "name": "Show Realm", "type": "http" }, "http": { "method": "GET", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId/realms/:realmId", "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": "realmId", "value": "", "type": "path", "description": "The unique identifier of the realm to show.
**Example:** `website-domain-coveo.com`" } ] }, "docs": "Shows a realm of a [group](https://docs.coveo.com/en/2867/).

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n
" }, { "info": { "name": "Destroy Realm", "type": "http" }, "http": { "method": "DELETE", "url": "https://platform.cloud.coveo.com/rest/organizations/:organizationId/groups/:groupId/realms/:realmId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "The unique identifier of the target [organization](https://docs.coveo.com/en/185/).
**Example:** `mycoveocloudv2organizationg8tp8wu3`" }, { "name": "realmId", "value": "", "type": "path", "description": "The unique identifier of the realm to delete.
**Example:** `website-domain-coveo.com`" }, { "name": "groupId", "value": "", "type": "path", "description": "The unique identifier of the target [group](https://docs.coveo.com/en/2867/).
**Example:**`myorganization-bfghkjfjb674jh5egjk`" } ] }, "docs": "Destroys a realm of a [group](https://docs.coveo.com/en/2867/).

Privilege required\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"EDIT\",\"targetId\":\"{groupId}\"}\n```\n
" } ] } ], "bundled": true }