Menu

vercel integration-resource

Last updated February 7, 2025

The vercel integration-resource command (alias: vercel ir) needs to be used with one of the following actions:

  • vercel integration-resource remove
  • vercel 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.

terminal
vercel integration-resource remove [resource-name]

Using the vercel integration-resource remove command to delete a resource.

Options:

OptionShorthandDescription
--disconnect-all-aDisconnect all projects before deletion
--yes-ySkip the confirmation prompt

Examples:

terminal
# 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 -y

The vercel integration-resource disconnect command disconnects a resource from a project or from all projects.

terminal
vercel integration-resource disconnect [resource-name] [project-name]

Using the vercel integration-resource disconnect command to disconnect a resource from a project.

Arguments:

ArgumentRequiredDescription
resource-nameYesName or ID of the resource to disconnect
project-nameNoProject to disconnect from (uses linked project if omitted)

Options:

OptionShorthandDescription
--all-aDisconnect all projects from the resource
--yes-ySkip the confirmation prompt

Examples:

terminal
# 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 -y

The 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?

supported.