v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
secrets

Delete a Secret.

Delete an existing Secret by name. This action is irreversible and will remove the Secret from all Devboxes.

post/v1/secrets/{name}/delete

Path parameters

namestring required

The name of the Secret to delete.

Request body

EmptyRecord required

Response

Secret deleted successfully. Returns the deleted Secret (without value for security).

idstring required

The unique identifier of the Secret.

namestring required

The globally unique name of the Secret. Used as the environment variable name in Devboxes.

create_time_msinteger required

Creation time of the Secret (Unix timestamp in milliseconds).

update_time_msinteger required

Last update time of the Secret (Unix timestamp in milliseconds).