{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Purview Account Accounts Retention Event Types API",
    "version": "2021-12-01"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Retention Event Types",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Purview List retention event types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/security/triggerTypes/retentionEventTypes",
            "params": [
              {
                "name": "$top",
                "value": "",
                "type": "query"
              },
              {
                "name": "$filter",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Get a list of retention event types."
        },
        {
          "info": {
            "name": "Microsoft Purview Create a retention event type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://management.azure.com/security/triggerTypes/retentionEventTypes",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new retention event type."
        },
        {
          "info": {
            "name": "Microsoft Purview Get a retention event type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://management.azure.com/security/triggerTypes/retentionEventTypes/:retentionEventTypeId",
            "params": [
              {
                "name": "retentionEventTypeId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a retention event type by its identifier."
        },
        {
          "info": {
            "name": "Microsoft Purview Update a retention event type",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://management.azure.com/security/triggerTypes/retentionEventTypes/:retentionEventTypeId",
            "params": [
              {
                "name": "retentionEventTypeId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a retention event type."
        },
        {
          "info": {
            "name": "Microsoft Purview Delete a retention event type",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://management.azure.com/security/triggerTypes/retentionEventTypes/:retentionEventTypeId",
            "params": [
              {
                "name": "retentionEventTypeId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a retention event type."
        }
      ]
    }
  ],
  "bundled": true
}