# API tokens that refuse destructive actions

> Released November 10, 2026

Before, the only guard against an AI agent deleting a site or rebooting a server was a confirmation the agent could send itself. Now you can give it a token that cannot do that at all.

**Who it's for:** Everyone who connects scripts or AI agents to xCloud with an API token.

-   Tick **Refuse destructive actions** when you create an API token.
-   To change an existing token, use the shield button on its row. The list marks such tokens **Refuses destructive actions**. Turning the option off asks you to confirm first.
-   Such a token can still read your servers and sites. Actions that xCloud counts as destructive, such as deleting a site or rebooting a server, are refused, even when the agent only asks to test them first.
-   Existing tokens are unchanged. The option is off unless you tick it.

[Manage Multi-Team API Tokens and MCP Connections](/docs/multi-team-api-tokens-and-mcp-access/)
