Detach a resource from an app
detach_resourceDetach a resource from an app: remove the environment variables it set and restart the app if it is running, so a running app loses them at once. The resource itself and its data are unchanged, and other apps that hold it keep it. Detaching a resource that is not attached changes nothing. Requires connecting a Valet account.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. The app's name. | |
| org_name | No | The Valet organization the app belongs to. Omit to use the organization the account joined first. | |
| resource | Yes | Required. The resource's name in the organization. |