Skip to navigation

Validate an EdgeWorkers code bundle

Return a list of errors and warnings containing details on how to fix your code bundle. See Validation types. In order to run this operation you need to provide an EdgeWorkers code bundle as a GZIP binary file in the request body, with a Content-Type of application/gzip.

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 binary data of type application/gzip.

Response

Provides details for an EdgeWorkers code bundle validation.
errorslist of objects
List of validation errors.
warningslist of objects
List of validation warnings.