Skip to main content

team_settings

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

Overview

Nameteam_settings
TypeResource
Idvercel.feature_flags.team_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
owner_idstring (wire: ownerId)
project_idstring (wire: projectId)
type_namestring (settings) (wire: typeName)
created_atnumber (wire: createdAt)
enabledboolean (false, true)
entitiesarray
environmentsarray
metadataobject
updated_atnumber (wire: updatedAt)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectteam_idlimit, cursor, slugRetrieve feature flag settings for projects in a team.

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
team_idstringThe Team identifier to perform the request on behalf of.
cursorstringPagination cursor to continue from.
limitintegerMaximum number of settings to return.
slugstringThe Team slug to perform the request on behalf of.

SELECT examples

Retrieve feature flag settings for projects in a team.

SELECT
owner_id,
project_id,
type_name,
created_at,
enabled,
entities,
environments,
metadata,
updated_at
FROM vercel.feature_flags.team_settings
WHERE team_id = '{{ team_id }}' -- required
AND limit = '{{ limit }}'
AND cursor = '{{ cursor }}'
AND slug = '{{ slug }}'
;