Remove a secret; the next invoke no longer sees it. Receipted.
DELETE
/v0/projects/{id}/functions/secrets/{name}
const url = 'https://infra-hyphae.run/v0/projects/example/functions/secrets/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://infra-hyphae.run/v0/projects/example/functions/secrets/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string
name
required
string
Responses
Section titled “ Responses ”The removed secret’s metadata.
Media typeapplication/json
There is deliberately no value field.
object
project
required
string
name
required
string
version
required
integer
created_at
required
RFC 3339, UTC.
string format: date-time
updated_at
required
RFC 3339, UTC.
string format: date-time
Examplegenerated
{ "project": "example", "name": "example", "version": 1, "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z"}Missing, malformed, duplicate, or unknown credential (authentication_required).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}Headers
Section titled “Headers”WWW-Authenticate
string
Unknown route, or a project the caller does not own (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
Example
{ "error": { "code": "invalid_request" }}