microfrontend_groups
Creates, updates, deletes, gets or lists a microfrontend_groups resource.
Overview​
| Name | microfrontend_groups |
| Type | Resource |
| Id | vercel.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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
update | update | group_id, team_id | slug | Updates a microfrontends group's settings. |
delete | delete | group_id, team_id | slug | Deletes 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.
| Name | Datatype | Description |
|---|---|---|
group_id | string | The microfrontend group ID to delete. |
team_id | string | The Team identifier to perform the request on behalf of. |
slug | string | The Team slug to perform the request on behalf of. |
UPDATE examples​
- update
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​
- delete
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 }}'
;