Application

Delete secret

Delete secret

DELETE /application/v1/workers/{worker_id}/secrets/{name}

Delete a secret. Unlike Cloudflare, this derives a new version without it and deploys that version.

Support: supported

Parameters

NameLocationTypeRequiredDescription
worker_idpathstringtrueWorker ID (wkr_…).
namepathstringtrueSecret name as seen in the Worker's env: 1–64 letters, digits or underscores, not starting with a digit.

Response

HTTP 200

Success

application/json

NameTypeDescription
deploymentobjectThe deployment of the version derived without this secret.
deployment.idstringDeployment ID, prefixed dep_.
deployment.created_onstringWhen the deployment was created.
deployment.sourcestringOrigin: api, sdk, console or rollback.
deployment.strategystringRollout strategy.
deployment.versionsarray<object>Exactly one version at 100 percent.
deployment.annotationsobjectFree-form annotations.
deployment.author_emailstring | nullWho created the deployment.
deployment.praxisobjectPlatform fields: deployments run asynchronously, so track status, progress and error here.
Export

On this page