{
  "opencollection": "1.0.0",
  "info": {
    "name": "Akamai: API Endpoint Definition Access tokens Deactivations API",
    "version": "2"
  },
  "items": [
    {
      "info": {
        "name": "Deactivations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Akamai List Deactivations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/deactivations",
            "params": [
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "version",
                "value": "{{version}}",
                "type": "query",
                "description": "Unique identifier for a specific EdgeWorker version."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ]
          },
          "docs": "View the list of deactivations for an existing EdgeWorker. You can limit the results to a specific `version`."
        },
        {
          "info": {
            "name": "Akamai Deactivate an EdgeWorker Version",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/deactivations",
            "params": [
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deactivate an existing EdgeWorker version on the Akamai network, either staging or production."
        },
        {
          "info": {
            "name": "Akamai Get a Deactivation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api-definitions/v2/ids/:edgeWorkerId/deactivations/:deactivationId",
            "params": [
              {
                "name": "deactivationId",
                "value": "{{deactivationId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker deactivation."
              },
              {
                "name": "edgeWorkerId",
                "value": "{{edgeWorkerId}}",
                "type": "path",
                "description": "Unique identifier for an EdgeWorker."
              },
              {
                "name": "accountSwitchKey",
                "value": "{{accountSwitchKey}}",
                "type": "query",
                "description": "For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys)."
              }
            ]
          },
          "docs": "View details for a specific deactivation."
        }
      ]
    }
  ],
  "bundled": true
}