# Delete a secret

Collection: api
Human docs: https://zei.sh/docs/api

Remove a secret from its configured provider.

DELETE /public/secrets/:secretId
Permission: ORG_MANAGE.
Deletion archives the secret metadata after provider removal.
Response: The deletion result.

Example:

```
curl -X DELETE https://api.zei.sh/api/v1/public/secrets/:secretId \
  -H "X-API-Key: $ZEISH_API_KEY"
```
