Skip to main content

microfrontend_groups

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

Overview​

Namemicrofrontend_groups
TypeResource
Idvercel.teams.microfrontend_groups

Fields​

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
updateupdategroup_id, team_idslugUpdates a microfrontends group's settings.
deletedeletegroup_id, team_idslugDeletes a microfrontends group from the team associated with the group ID.

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
group_idstringThe microfrontend group ID to delete.
team_idstringThe Team identifier to perform the request on behalf of.
slugstringThe Team slug to perform the request on behalf of.

UPDATE examples​

Updates a microfrontends group's settings.

UPDATE vercel.teams.microfrontend_groups
SET
name = '{{ name }}',
fallback_environment = '{{ fallback_environment }}',
enable_polyrepo_branch_routing = {{ enable_polyrepo_branch_routing }}
WHERE
group_id = '{{ group_id }}' --required
AND team_id = '{{ team_id }}' --required
AND slug = '{{ slug}}'
RETURNING
updated_microfrontends_group;

DELETE examples​

Deletes a microfrontends group from the team associated with the group ID.

DELETE FROM vercel.teams.microfrontend_groups
WHERE group_id = '{{ group_id }}' --required
AND team_id = '{{ team_id }}' --required
AND slug = '{{ slug }}'
;