Skip to main content

configuration

Creates, updates, deletes, gets or lists a configuration resource.

Overview

Nameconfiguration
TypeResource
Idvercel.integrations.configuration

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_configurationselectid, teamIdAllows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it.
get_configurationsselectview, teamIdAllows to retrieve all configurations for an authenticated integration. When the project view is used, configurations generated for the authorization flow will be filtered out of the results.
delete_configurationdeleteid, teamIdAllows to remove the configuration with the id provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringID of the configuration to delete
teamIdstringThe Team identifier or slug to perform the request on behalf of.
viewstring

SELECT examples

Allows to retrieve a the configuration with the provided id in case it exists. The authenticated user or team must be the owner of the config in order to access it.

SELECT
*
FROM vercel.integrations.configuration
WHERE id = '{{ id }}' -- required
AND teamId = '{{ teamId }}' -- required
;

DELETE examples

Allows to remove the configuration with the id provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.

DELETE FROM vercel.integrations.configuration
WHERE id = '{{ id }}' --required
AND teamId = '{{ teamId }}' --required
;