{
  "info": {
    "_postman_id": "ad8895e7-1e0d-4b6a-90d4-b610fb3680cb",
    "name": "Coveo Activity Activities Organization Realms API",
    "description": "API for Coveo Platform\n\nContact Support:\n Name: Coveo",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:30:08.000Z",
    "updatedAt": "2026-07-28T01:30:08.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-ad8895e7-1e0d-4b6a-90d4-b610fb3680cb"
  },
  "item": [
    {
      "name": "rest",
      "item": [
        {
          "name": "organizations",
          "item": [
            {
              "name": "{organizationId}",
              "item": [
                {
                  "name": "realms",
                  "item": [
                    {
                      "name": "{realmId}",
                      "item": [
                        {
                          "name": "Update Realm",
                          "id": "60c71881-b2de-4c3f-9c4e-3ac9d50048a7",
                          "protocolProfileBehavior": {
                            "disableBodyPruning": true
                          },
                          "request": {
                            "method": "PUT",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "key": "Accept",
                                "value": "*/*"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"id\": \"<string>\",\n  \"provider\": \"GOOGLE\",\n  \"displayName\": \"<string>\",\n  \"samlIdentityProviderId\": \"<string>\",\n  \"groups\": [\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\"\n    }\n  ]\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rest/organizations/:organizationId/realms/:realmId",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rest",
                                "organizations",
                                ":organizationId",
                                "realms",
                                ":realmId"
                              ],
                              "variable": [
                                {
                                  "id": "181351cb-4205-43d4-9d1b-ec524af48c93",
                                  "key": "organizationId",
                                  "value": "<string>",
                                  "description": "(Required) The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`"
                                },
                                {
                                  "id": "2800ec3a-d65b-416b-9dd5-c864096df257",
                                  "key": "realmId",
                                  "value": "<string>",
                                  "description": "(Required) The unique identifier of the realm to update.</br>**Example:** `website-domain-coveo.com`"
                                }
                              ]
                            },
                            "description": "Updates a realm of an [organization](https://docs.coveo.com/en/185/).<br /><br /><details><summary>Privilege required</summary>\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"EDIT\",\"targetId\":\"*\"}\n```\n</details>"
                          },
                          "response": [
                            {
                              "id": "c36571e6-a4df-4640-815d-83e739776ee5",
                              "name": "OK",
                              "originalRequest": {
                                "method": "PUT",
                                "header": [
                                  {
                                    "key": "Content-Type",
                                    "value": "application/json"
                                  },
                                  {
                                    "key": "Accept",
                                    "value": "*/*"
                                  },
                                  {
                                    "description": "Added as a part of security scheme: oauth2",
                                    "key": "Authorization",
                                    "value": "<token>"
                                  }
                                ],
                                "body": {
                                  "mode": "raw",
                                  "raw": "{\n  \"id\": \"<string>\",\n  \"provider\": \"GOOGLE\",\n  \"displayName\": \"<string>\",\n  \"samlIdentityProviderId\": \"<string>\",\n  \"groups\": [\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\"\n    }\n  ]\n}",
                                  "options": {
                                    "raw": {
                                      "headerFamily": "json",
                                      "language": "json"
                                    }
                                  }
                                },
                                "url": {
                                  "raw": "{{baseUrl}}/rest/organizations/:organizationId/realms/:realmId",
                                  "host": [
                                    "{{baseUrl}}"
                                  ],
                                  "path": [
                                    "rest",
                                    "organizations",
                                    ":organizationId",
                                    "realms",
                                    ":realmId"
                                  ],
                                  "variable": [
                                    {
                                      "key": "organizationId"
                                    },
                                    {
                                      "key": "realmId"
                                    }
                                  ]
                                }
                              },
                              "status": "OK",
                              "code": 200,
                              "_postman_previewlanguage": "text",
                              "header": [
                                {
                                  "key": "Content-Type",
                                  "value": "*/*"
                                }
                              ],
                              "cookie": [],
                              "responseTime": null,
                              "body": "{\n  \"id\": \"<string>\",\n  \"provider\": \"GOOGLE\",\n  \"displayName\": \"<string>\",\n  \"samlIdentityProviderId\": \"<string>\",\n  \"groups\": [\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\"\n    },\n    {\n      \"id\": \"<string>\",\n      \"displayName\": \"<string>\"\n    }\n  ]\n}",
                              "createdAt": "2026-07-28T01:30:08.000Z",
                              "updatedAt": "2026-07-28T01:30:08.000Z",
                              "uid": "35240-c36571e6-a4df-4640-815d-83e739776ee5"
                            }
                          ],
                          "createdAt": "2026-07-28T01:30:08.000Z",
                          "updatedAt": "2026-07-28T01:30:08.000Z",
                          "uid": "35240-60c71881-b2de-4c3f-9c4e-3ac9d50048a7"
                        }
                      ],
                      "id": "664fe69d-5943-4b8b-bece-9bf58b9f79c3",
                      "createdAt": "2026-07-28T01:30:08.000Z",
                      "updatedAt": "2026-07-28T01:30:08.000Z",
                      "uid": "35240-664fe69d-5943-4b8b-bece-9bf58b9f79c3"
                    },
                    {
                      "name": "List Realms",
                      "id": "76823485-d6a6-49c6-8146-011c39cee597",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "GET",
                        "header": [
                          {
                            "key": "Accept",
                            "value": "*/*"
                          }
                        ],
                        "url": {
                          "raw": "{{baseUrl}}/rest/organizations/:organizationId/realms",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rest",
                            "organizations",
                            ":organizationId",
                            "realms"
                          ],
                          "variable": [
                            {
                              "id": "d80dcb8d-7238-4755-8d49-7caf0e52f730",
                              "key": "organizationId",
                              "value": "<string>",
                              "description": "(Required) The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`"
                            }
                          ]
                        },
                        "description": "Lists the realms of an [organization](https://docs.coveo.com/en/185/).<br /><br /><details><summary>Privilege required</summary>\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"VIEW\",\"targetId\":\"*\"}\n```\n</details>"
                      },
                      "response": [
                        {
                          "id": "3727dc8b-dbef-44c1-814d-f7eef2c749af",
                          "name": "OK",
                          "originalRequest": {
                            "method": "GET",
                            "header": [
                              {
                                "key": "Accept",
                                "value": "*/*"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "url": {
                              "raw": "{{baseUrl}}/rest/organizations/:organizationId/realms",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rest",
                                "organizations",
                                ":organizationId",
                                "realms"
                              ],
                              "variable": [
                                {
                                  "key": "organizationId"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "text",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "*/*"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "[\n  {\n    \"id\": \"<string>\",\n    \"provider\": \"OFFICE365\",\n    \"displayName\": \"<string>\",\n    \"samlIdentityProviderId\": \"<string>\",\n    \"groups\": [\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      },\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      }\n    ]\n  },\n  {\n    \"id\": \"<string>\",\n    \"provider\": \"SALESFORCE_SANDBOX\",\n    \"displayName\": \"<string>\",\n    \"samlIdentityProviderId\": \"<string>\",\n    \"groups\": [\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      },\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      }\n    ]\n  }\n]",
                          "createdAt": "2026-07-28T01:30:08.000Z",
                          "updatedAt": "2026-07-28T01:30:08.000Z",
                          "uid": "35240-3727dc8b-dbef-44c1-814d-f7eef2c749af"
                        }
                      ],
                      "createdAt": "2026-07-28T01:30:08.000Z",
                      "updatedAt": "2026-07-28T01:30:08.000Z",
                      "uid": "35240-76823485-d6a6-49c6-8146-011c39cee597"
                    },
                    {
                      "name": "Add Realm for Groups",
                      "id": "77819bda-a76e-46aa-91fa-f4014153f085",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "[\n  {\n    \"id\": \"<string>\",\n    \"provider\": \"OFFICE365\",\n    \"displayName\": \"<string>\",\n    \"samlIdentityProviderId\": \"<string>\",\n    \"groups\": [\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      },\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      }\n    ]\n  },\n  {\n    \"id\": \"<string>\",\n    \"provider\": \"SALESFORCE_SANDBOX\",\n    \"displayName\": \"<string>\",\n    \"samlIdentityProviderId\": \"<string>\",\n    \"groups\": [\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      },\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      }\n    ]\n  }\n]",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rest/organizations/:organizationId/realms",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rest",
                            "organizations",
                            ":organizationId",
                            "realms"
                          ],
                          "variable": [
                            {
                              "id": "4381d22b-3663-4f6a-b02a-ee37e1691a1d",
                              "key": "organizationId",
                              "value": "<string>",
                              "description": "(Required) The unique identifier of the target [organization](https://docs.coveo.com/en/185/).<br />**Example:** `mycoveocloudv2organizationg8tp8wu3`"
                            }
                          ]
                        },
                        "description": "Adds a realm for a set of groups in an [organization](https://docs.coveo.com/en/185/).<br /><br /><details><summary>Privilege required</summary>\n```\n{\"owner\":\"PLATFORM\",\"targetDomain\":\"GROUP\",\"type\":\"EDIT\",\"targetId\":\"*\"}\n```\n</details>"
                      },
                      "response": [
                        {
                          "id": "d1f8a838-0c3e-4734-91a7-729e7f771b69",
                          "name": "Created",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: oauth2",
                                "key": "Authorization",
                                "value": "<token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "[\n  {\n    \"id\": \"<string>\",\n    \"provider\": \"OFFICE365\",\n    \"displayName\": \"<string>\",\n    \"samlIdentityProviderId\": \"<string>\",\n    \"groups\": [\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      },\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      }\n    ]\n  },\n  {\n    \"id\": \"<string>\",\n    \"provider\": \"SALESFORCE_SANDBOX\",\n    \"displayName\": \"<string>\",\n    \"samlIdentityProviderId\": \"<string>\",\n    \"groups\": [\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      },\n      {\n        \"id\": \"<string>\",\n        \"displayName\": \"<string>\"\n      }\n    ]\n  }\n]",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rest/organizations/:organizationId/realms",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rest",
                                "organizations",
                                ":organizationId",
                                "realms"
                              ],
                              "variable": [
                                {
                                  "key": "organizationId"
                                }
                              ]
                            }
                          },
                          "status": "Created",
                          "code": 201,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T01:30:08.000Z",
                          "updatedAt": "2026-07-28T01:30:08.000Z",
                          "uid": "35240-d1f8a838-0c3e-4734-91a7-729e7f771b69"
                        }
                      ],
                      "createdAt": "2026-07-28T01:30:08.000Z",
                      "updatedAt": "2026-07-28T01:30:08.000Z",
                      "uid": "35240-77819bda-a76e-46aa-91fa-f4014153f085"
                    }
                  ],
                  "id": "5f8d94ed-96a6-4cce-bae6-abfe656a760e",
                  "createdAt": "2026-07-28T01:30:08.000Z",
                  "updatedAt": "2026-07-28T01:30:08.000Z",
                  "uid": "35240-5f8d94ed-96a6-4cce-bae6-abfe656a760e"
                }
              ],
              "id": "36f46325-e49e-403e-b108-7cf085cccc4b",
              "createdAt": "2026-07-28T01:30:08.000Z",
              "updatedAt": "2026-07-28T01:30:08.000Z",
              "uid": "35240-36f46325-e49e-403e-b108-7cf085cccc4b"
            }
          ],
          "id": "b053b920-b313-4ed3-9d4a-0c083a255953",
          "createdAt": "2026-07-28T01:30:08.000Z",
          "updatedAt": "2026-07-28T01:30:08.000Z",
          "uid": "35240-b053b920-b313-4ed3-9d4a-0c083a255953"
        }
      ],
      "id": "04ab8f88-eb9b-4c66-8c42-175b9c0714e4",
      "createdAt": "2026-07-28T01:30:08.000Z",
      "updatedAt": "2026-07-28T01:30:08.000Z",
      "uid": "35240-04ab8f88-eb9b-4c66-8c42-175b9c0714e4"
    }
  ],
  "auth": {
    "type": "oauth2",
    "oauth2": [
      {
        "key": "scope",
        "value": "full",
        "type": "string"
      },
      {
        "key": "accessTokenUrl",
        "value": "https://platform.cloud.coveo.com/oauth/token",
        "type": "string"
      },
      {
        "key": "authUrl",
        "value": "https://platform.cloud.coveo.com/oauth/authorize",
        "type": "string"
      },
      {
        "key": "grant_type",
        "value": "authorization_code",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://platform.cloud.coveo.com"
    }
  ]
}