vercel integration-resource
The vercel integration-resource command (alias: vercel ir) needs to be used with one of the following actions:
vercel integration-resource removevercel integration-resource disconnect
For the resource-name in all the commands below, use the URL slug value of the product for this installed resource.
The vercel integration-resource remove command (alias: rm) deletes an integration resource permanently.
vercel integration-resource remove [resource-name]Using the vercel integration-resource remove command to delete a resource.
Options:
| Option | Shorthand | Description |
|---|---|---|
--disconnect-all | -a | Disconnect all projects before deletion |
--yes | -y | Skip the confirmation prompt |
Examples:
# Remove a resource
vercel integration-resource remove my-database
# Remove with alias
vercel ir rm my-cache
# Disconnect all projects and remove
vercel ir remove my-database --disconnect-all
# Remove without confirmation
vercel ir rm my-cache -a -yThe vercel integration-resource disconnect command disconnects a resource from a project or from all projects.
vercel integration-resource disconnect [resource-name] [project-name]Using the vercel integration-resource disconnect command to disconnect a
resource from a project.
Arguments:
| Argument | Required | Description |
|---|---|---|
| resource-name | Yes | Name or ID of the resource to disconnect |
| project-name | No | Project to disconnect from (uses linked project if omitted) |
Options:
| Option | Shorthand | Description |
|---|---|---|
--all | -a | Disconnect all projects from the resource |
--yes | -y | Skip the confirmation prompt |
Examples:
# Disconnect from linked project
vercel integration-resource disconnect my-database
# Using alias
vercel ir disconnect my-redis-cache
# Disconnect from a specific project
vercel ir disconnect my-database my-project
# Disconnect all projects from the resource
vercel ir disconnect my-database --all
# Disconnect all without confirmation
vercel ir disconnect my-database -a -yThe following global options can be passed when using the vercel integration command:
For more information on global options and their usage, refer to the options section.
Was this helpful?