{
  "info": {
    "_postman_id": "6dfea70c-fcf1-4d42-bb49-99d7cccdeb5b",
    "name": "Coveo Activity Activities Privilege Evaluator 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:32.000Z",
    "updatedAt": "2026-07-28T01:30:32.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-6dfea70c-fcf1-4d42-bb49-99d7cccdeb5b"
  },
  "item": [
    {
      "name": "rest",
      "item": [
        {
          "name": "privilege",
          "item": [
            {
              "name": "evaluate",
              "item": [
                {
                  "name": "general-access",
                  "item": [
                    {
                      "name": "Evaluate a Privilege Request",
                      "id": "a09b1877-65b6-46f4-bd54-c0db4102e727",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          },
                          {
                            "key": "Accept",
                            "value": "*/*"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"organizationId\": \"<string>\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rest/privilege/evaluate/general-access",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rest",
                            "privilege",
                            "evaluate",
                            "general-access"
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "10d02d19-4304-4cc6-a1b0-c7a094dfe14e",
                          "name": "OK",
                          "originalRequest": {
                            "method": "POST",
                            "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  \"organizationId\": \"<string>\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/rest/privilege/evaluate/general-access",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "rest",
                                "privilege",
                                "evaluate",
                                "general-access"
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "text",
                          "header": [
                            {
                              "key": "Content-Type",
                              "value": "*/*"
                            }
                          ],
                          "cookie": [],
                          "responseTime": null,
                          "body": "{\n  \"organizationId\": \"<string>\",\n  \"approved\": \"<boolean>\",\n  \"evaluationReport\": {\n    \"privilegeEvaluationResultCodes\": [\n      \"OPERATION_FORBIDDEN_INVALID_PRIVILEGE_REQUEST\",\n      \"OPERATION_FORBIDDEN_FROM_REQUEST_LOCATION\"\n    ]\n  },\n  \"requestedPrivilege\": {\n    \"type\": \"<string>\",\n    \"targetDomain\": \"<string>\",\n    \"targetId\": \"<string>\",\n    \"owner\": \"<string>\",\n    \"level\": \"<string>\"\n  }\n}",
                          "createdAt": "2026-07-28T01:30:32.000Z",
                          "updatedAt": "2026-07-28T01:30:32.000Z",
                          "uid": "35240-10d02d19-4304-4cc6-a1b0-c7a094dfe14e"
                        }
                      ],
                      "createdAt": "2026-07-28T01:30:32.000Z",
                      "updatedAt": "2026-07-28T01:30:32.000Z",
                      "uid": "35240-a09b1877-65b6-46f4-bd54-c0db4102e727"
                    }
                  ],
                  "id": "549b9e4f-561d-4ccd-8c8a-8019ca86eaa4",
                  "createdAt": "2026-07-28T01:30:32.000Z",
                  "updatedAt": "2026-07-28T01:30:32.000Z",
                  "uid": "35240-549b9e4f-561d-4ccd-8c8a-8019ca86eaa4"
                },
                {
                  "name": "Evaluate a Privilege Request",
                  "id": "2937a091-1e84-4a73-803a-648ba130f89d",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "*/*"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n  \"organizationId\": \"<string>\",\n  \"approved\": \"<boolean>\",\n  \"evaluationReport\": {\n    \"privilegeEvaluationResultCodes\": [\n      \"OPERATION_FORBIDDEN_INVALID_PRIVILEGE_REQUEST\",\n      \"OPERATION_FORBIDDEN_FROM_REQUEST_LOCATION\"\n    ]\n  },\n  \"requestedPrivilege\": {\n    \"type\": \"<string>\",\n    \"targetDomain\": \"<string>\",\n    \"targetId\": \"<string>\",\n    \"owner\": \"<string>\",\n    \"level\": \"<string>\"\n  }\n}",
                      "options": {
                        "raw": {
                          "headerFamily": "json",
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{baseUrl}}/rest/privilege/evaluate",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "rest",
                        "privilege",
                        "evaluate"
                      ]
                    }
                  },
                  "response": [
                    {
                      "id": "40803bdb-57c5-4b6d-922c-10424226fec3",
                      "name": "OK",
                      "originalRequest": {
                        "method": "POST",
                        "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  \"organizationId\": \"<string>\",\n  \"approved\": \"<boolean>\",\n  \"evaluationReport\": {\n    \"privilegeEvaluationResultCodes\": [\n      \"OPERATION_FORBIDDEN_INVALID_PRIVILEGE_REQUEST\",\n      \"OPERATION_FORBIDDEN_FROM_REQUEST_LOCATION\"\n    ]\n  },\n  \"requestedPrivilege\": {\n    \"type\": \"<string>\",\n    \"targetDomain\": \"<string>\",\n    \"targetId\": \"<string>\",\n    \"owner\": \"<string>\",\n    \"level\": \"<string>\"\n  }\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/rest/privilege/evaluate",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "rest",
                            "privilege",
                            "evaluate"
                          ]
                        }
                      },
                      "status": "OK",
                      "code": 200,
                      "_postman_previewlanguage": "text",
                      "header": [
                        {
                          "key": "Content-Type",
                          "value": "*/*"
                        }
                      ],
                      "cookie": [],
                      "responseTime": null,
                      "body": "{\n  \"organizationId\": \"<string>\",\n  \"approved\": \"<boolean>\",\n  \"evaluationReport\": {\n    \"privilegeEvaluationResultCodes\": [\n      \"OPERATION_FORBIDDEN_INVALID_PRIVILEGE_REQUEST\",\n      \"OPERATION_FORBIDDEN_FROM_REQUEST_LOCATION\"\n    ]\n  },\n  \"requestedPrivilege\": {\n    \"type\": \"<string>\",\n    \"targetDomain\": \"<string>\",\n    \"targetId\": \"<string>\",\n    \"owner\": \"<string>\",\n    \"level\": \"<string>\"\n  }\n}",
                      "createdAt": "2026-07-28T01:30:32.000Z",
                      "updatedAt": "2026-07-28T01:30:32.000Z",
                      "uid": "35240-40803bdb-57c5-4b6d-922c-10424226fec3"
                    }
                  ],
                  "createdAt": "2026-07-28T01:30:32.000Z",
                  "updatedAt": "2026-07-28T01:30:32.000Z",
                  "uid": "35240-2937a091-1e84-4a73-803a-648ba130f89d"
                }
              ],
              "id": "6c44a11a-2587-48f9-829b-deb875c74918",
              "createdAt": "2026-07-28T01:30:32.000Z",
              "updatedAt": "2026-07-28T01:30:32.000Z",
              "uid": "35240-6c44a11a-2587-48f9-829b-deb875c74918"
            }
          ],
          "id": "87c42ab8-4016-490c-bac6-d3eb3ef87b36",
          "createdAt": "2026-07-28T01:30:32.000Z",
          "updatedAt": "2026-07-28T01:30:32.000Z",
          "uid": "35240-87c42ab8-4016-490c-bac6-d3eb3ef87b36"
        }
      ],
      "id": "9ec0327c-18d9-4caa-85e9-2f2814386226",
      "createdAt": "2026-07-28T01:30:32.000Z",
      "updatedAt": "2026-07-28T01:30:32.000Z",
      "uid": "35240-9ec0327c-18d9-4caa-85e9-2f2814386226"
    }
  ],
  "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"
    }
  ]
}