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
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
| worker_id | path | string | true | Worker ID (wkr_…). |
| name | path | string | true | Secret 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
| Name | Type | Description |
|---|---|---|
| deployment | object | The deployment of the version derived without this secret. |
| deployment.id | string | Deployment ID, prefixed dep_. |
| deployment.created_on | string | When the deployment was created. |
| deployment.source | string | Origin: api, sdk, console or rollback. |
| deployment.strategy | string | Rollout strategy. |
| deployment.versions | array<object> | Exactly one version at 100 percent. |
| deployment.annotations | object | Free-form annotations. |
| deployment.author_email | string | null | Who created the deployment. |
| deployment.praxis | object | Platform fields: deployments run asynchronously, so track status, progress and error here. |