Stop Tofu adding DNS settings
domainAuthorizationRevokeWithdraw the one-click DNS authorization for a hostname — Stop Tofu adding settings on the dashboard’s Domains page. This changes what the user sees, and requires confirmed: true, representing the human’s agreement to withdraw this exact authorization; without the literal nothing is sent. Tofu stops writing records for it (those it wrote stay), destroys its stored copy of the provider’s approval and asks the provider to release it; the connection stays in place (domainRelease removes it). The result never carries a credential. A withdrawal alone never means the token is gone; providerGrant says: released, the provider confirmed; not_held, no token of Tofu’s is stored there; not_released, the approval may still be live there, and message names the step that removes it. Withdrawing again reads back the first withdrawal’s record, so an unconfirmed grant stays not_released.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"domainId": "<domainId>",
"confirmed": "<confirmed>"
},
"name": "domainAuthorizationRevoke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domainId | Yes | ||
| confirmed | Yes | ||
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| revoked | Yes | ||
| providerGrant | Yes |