forge
Clone forge-starter
plane: bothresource: SecretC5rendered from forge v1.56.0 platform-model.json

unset-secret

Remove a secret from the vault and delete its Secret resource.

UnsetSecretPOST /capabilities/unset-secret
Secretthe Resource it produces
1 eventSecretUnset

Ask your agent forge → unset-secret

you
Remove hello's SMTP secret.
claude
forge → unset-secret Done — Secret created; I recorded SecretUnset.

From the terminal

$ forge secrets unset --app hello --name SMTP_URL

HTTP either plane

POST /capabilities/unset-secret
Content-Type: application/json
x-forge-actor-type: builder
x-forge-actor-id: cli

{
  "app": "hello",
  "name": "SMTP_URL"
}

Input fields 2

app
name

Events ForgeEvent

SecretUnset   resource_type: Secret

Resource GET /resources/Secret/:id

{
  "type": "Secret",
  "id": "res_01J…",
  "app_id": "app_hello",
  "status": "succeeded",
  "created_at": "2026-09-03T14:00:00Z"
}

Errors: see Reference → Errors. Find it in the playground