update_group
Update the name of an existing group within a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token, then fetch_groups to get the group_token.
update_group
When to use
Update the name of an existing group within a sweepstakes. Use fetch_sweepstakes first to get the sweepstakes_token, then fetch_groups to get the group_token.
Pre-calls required
fetch_sweepstakes if the user gave you a sweepstakes name instead of a token
Parameters to validate before calling
sweepstakes_token (string, required) — The sweepstakes token (UUID format)
group_token (string, required) — The group token to update (UUID format)
group_name (string, required) — The new name for the group (must be unique within the sweepstakes)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_name | Yes | The new name for the group (must be unique within the sweepstakes) | |
| group_token | Yes | The group token to update (UUID format) | |
| sweepstakes_token | Yes | The sweepstakes token (UUID format) |