# Hermoso: delete_site_secret · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/delete_site_secret/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / delete_site_secret

# `delete_site_secret`

Delete a site secret destructive

Area: LAUNCH PAGES · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Delete one of a hosted site's secrets. Without confirm:true nothing changes and you get what it would delete; call again with confirm:true once the user says yes. Free.

## Parameters

Parameter Type Description

`name` required `string` the page name, which is its address: spring-sale is served at https://spring-sale.hermoso.page

`key` required `string`

`confirm` `boolean` true only after the user approved it

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/delete_site_secret`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_site_secret","arguments":{"name":"<string>","key":"<string>"}}}`
**CLI**

`hermoso call delete_site_secret --json '{"name":"<string>","key":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [set_site_secret](https://hermoso.ai/docs/reference/publish/set_site_secret/) Save a secret for a site’s server code
- [rollback_page](https://hermoso.ai/docs/reference/publish/rollback_page/) Roll a hosted project back
- [disconnect_domain](https://hermoso.ai/docs/reference/publish/disconnect_domain/) Disconnect a domain from a page
- [list_site_usage](https://hermoso.ai/docs/reference/publish/list_site_usage/) Hosting usage of hosted projects
- [domain_status](https://hermoso.ai/docs/reference/publish/domain_status/) Check a connected domain
- [set_site_spend_cap](https://hermoso.ai/docs/reference/publish/set_site_spend_cap/) Cap hosting spend
- [connect_domain](https://hermoso.ai/docs/reference/publish/connect_domain/) Serve a page on your own domain
- [export_site](https://hermoso.ai/docs/reference/publish/export_site/) Download a hosted project as a zip
- [unpublish_page](https://hermoso.ai/docs/reference/publish/unpublish_page/) Take a hosted page offline
- [push_site_to_github](https://hermoso.ai/docs/reference/publish/push_site_to_github/) Push a hosted project to GitHub

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
