Skip to navigation

Deactivate an EdgeWorker version

Deactivate an existing EdgeWorker version on the Akamai network, either staging or production.

Path parameters

edgeWorkerIdstringRequired

Query parameters

accountSwitchKeystringOptional

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request

This endpoint expects an object.
networkenumRequired

The network on which the version will be deactivated, either STAGING or PRODUCTION.

Allowed values:
versionstringRequired>=1 character
Unique identifier of the version that will be deactivated.
notestringOptional>=1 character
Note to specify why the version is being deactivated.

Response

Provides details for an EdgeWorker deactivation.
accountIdstring>=1 character
Identifier for the account under which the EdgeWorker was created.
createdBystring>=1 character
Username of the person who created the EdgeWorker.
createdTimedatetime
ISO 8601 timestamp indicating when the EdgeWorker was created.
deactivationIdinteger>=1
Unique identifier of the deactivation.
edgeWorkerIdinteger>=1
Unique identifier of the EdgeWorker.
lastModifiedTimedatetime
ISO 8601 timestamp indicating when the EdgeWorker was most recently modified.
networkenum

The network on which the version is deactivated, either PRODUCTION or STAGING.

Allowed values:
statusenum

The deactivation status of the EdgeWorker version, either PRESUBMIT, PENDING, IN_PROGRESS, COMPLETE, ABORTED, ERROR, DELETED_BY_AKAMAI, or EXPIRED.

versionstring>=1 character
Unique identifier of the version.
notestringOptional>=1 character
Note to specify why the version is being deactivated.