{
  "opencollection": "1.0.0",
  "info": {
    "name": "Coveo Activity Activities Reader Account API - Version 15 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": "Reader Account API - Version 15",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a Reader Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/readeraccounts",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Create a Reader Account"
        },
        {
          "info": {
            "name": "Get the Details for All Users from a Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/users",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Get the Details for All Users from a Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Create a New User Within a Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/users",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a New User Within a Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Retrieve Snowflake Reader Account State",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/readeraccount",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Retrieve Snowflake Reader Account State"
        },
        {
          "info": {
            "name": "Delete Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/readeraccount",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Delete Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Get the Details for a Specific User from a Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/users/:snowflakeUser",
            "params": [
              {
                "name": "snowflakeUser",
                "value": "",
                "type": "path",
                "description": "The login name for the Snowflake user."
              },
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Get the Details for a Specific User from a Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Delete a User from a Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/users/:snowflakeUser",
            "params": [
              {
                "name": "snowflakeUser",
                "value": "",
                "type": "path",
                "description": "The login name for the Snowflake user."
              },
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Delete a User from a Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Get the Amount of Compute Credits Used by a Snowflake Reader Account Within a Date Range",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/creditusage",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "from",
                "value": "",
                "type": "query",
                "description": "The beginning date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              },
              {
                "name": "to",
                "value": "",
                "type": "query",
                "description": "The end date of the date range. ISO8601 format 'YYYY-MM-DDThh:mm:ss.sssZ'"
              }
            ]
          },
          "docs": "Get the Amount of Compute Credits Used by a Snowflake Reader Account Within a Date Range"
        },
        {
          "info": {
            "name": "Retrieve Snowflake Reader Account Endpoint",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/readeraccount/endpoint",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Retrieve Snowflake Reader Account Endpoint"
        },
        {
          "info": {
            "name": "Get the Details of the Active Network Policy for a Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/networkpolicy",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Get the Details of the Active Network Policy for a Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Set the Details of the Active Network Policy for a Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/networkpolicy",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Set the Details of the Active Network Policy for a Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Reset a User's Password in a Snowflake Reader Account",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/users/:snowflakeUser/passwordreset",
            "params": [
              {
                "name": "snowflakeUser",
                "value": "",
                "type": "path",
                "description": "The login name for the Snowflake user."
              },
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              }
            ]
          },
          "docs": "Reset a User's Password in a Snowflake Reader Account"
        },
        {
          "info": {
            "name": "Change the Expiration Time of a Snowflake Reader Account User",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://platform.cloud.coveo.com/v15/admin/snowflake/users/:snowflakeUser/expiration",
            "params": [
              {
                "name": "org",
                "value": "",
                "type": "query",
                "description": "The name of the organization (Coveo Cloud V2 only)"
              },
              {
                "name": "snowflakeUser",
                "value": "",
                "type": "path",
                "description": "The login name for the Snowflake user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Change the Expiration Time of a Snowflake Reader Account User"
        }
      ]
    }
  ],
  "bundled": true
}