Reference
Delete a parameter
Removes the address from the environment.
DELETE
/api/v1/secrets/{address}Removes the address from the environment. Use it when a name is retired; rotating a value is a write, not a delete.
Authorization
bearer AuthorizationBearer <token>
A machine credential, sent as Authorization: Bearer pck_.... Issue one from the console, or get a short-lived one from an exchange under auth.
In: header
Path Parameters
address*string
The parameter address. The last segment is the name and everything before it is the path, so slashes are part of the address and are not escaped. A parameter at the root is just its name.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/secrets/db/primary/DATABASE_URL"{ "ok": true}