Detach a connector
detach_connectorDetach a connector from a website or agent, ending the grant attach_connector made. The connector itself stays in the organization. A page or agent that still calls it starts getting an error, which is the intended outcome.
While a connector is attached to a website, everyone who can open the page can call every tool it exposes with the credential Valet holds, so detaching is the way to end that reach. A running agent restarts to drop the connector. Detaching a connector that is not attached to an agent leaves the same absence; on a website it is refused, so a misspelled name is never read as a grant taken back. An app cannot hold a connector, so it is refused. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. The website's or agent's name. | |
| org_name | No | The Valet organization both belong to. Omit to use the organization the account joined first. | |
| connector | Yes | Required. The name the connector is attached under. |