/admin/secrets/item/{key}Admin deletes a single secret.
| Name | In | Type | Required | Default | Example | Constraints | Description |
|---|---|---|---|---|---|---|---|
key |
path |
string |
Yes | Secret path |
| Status | Description | Schema |
|---|---|---|
| 200 | ok | string |
| 400 | Invalid request parameters | dto.SimpleResponse |
| 401 | Unauthenticated | dto.SimpleResponse |
| 403 | Forbidden | dto.SimpleResponse |
| 404 | Secret not found | dto.SimpleResponse |
| 500 | Internal server error | dto.SimpleResponse |
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No | |||
timestamp |
string |
No |