team_settings
Creates, updates, deletes, gets or lists a team_settings resource.
Overview
| Name | team_settings |
| Type | Resource |
| Id | vercel.feature_flags.team_settings |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
owner_id | string | (wire: ownerId) |
project_id | string | (wire: projectId) |
type_name | string | (settings) (wire: typeName) |
created_at | number | (wire: createdAt) |
enabled | boolean | (false, true) |
entities | array | |
environments | array | |
metadata | object | |
updated_at | number | (wire: updatedAt) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | team_id | limit, cursor, slug | Retrieve 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.
| Name | Datatype | Description |
|---|---|---|
team_id | string | The Team identifier to perform the request on behalf of. |
cursor | string | Pagination cursor to continue from. |
limit | integer | Maximum number of settings to return. |
slug | string | The Team slug to perform the request on behalf of. |
SELECT examples
- list
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 }}'
;