Skip to content

Update group

Endpoint

PUT /organizations/{org_id}/groups/{group_id}

Updates a group’s details or membership within your Tallyfy organization. The caller must have manage_groups permission.

Request

Replace {org_id} with your Organization ID and {group_id} with the ID of the group to update.

Headers

HeaderValueRequired
AuthorizationBearer {your_access_token}Yes
Acceptapplication/jsonYes
X-Tallyfy-ClientAPIClientYes
Content-Typeapplication/jsonYes

Body (JSON)

FieldTypeRequiredDescription
namestringNoNew name (max 200 characters, must be unique per org)
descriptionstringYesGroup description
membersarray of integersNoReplaces the entire member list with these user IDs
guestsarray of stringsNoReplaces the entire guest list with these emails

Code samples

const accessToken = 'YOUR_PERSONAL_ACCESS_TOKEN';
const orgId = 'YOUR_ORGANIZATION_ID';
const groupId = 'GROUP_ID_TO_UPDATE';
const apiUrl = `https://go.tallyfy.com/api/organizations/${orgId}/groups/${groupId}`;
const updateData = {
description: "Updated team description.",
members: [1001, 1003, 1005],
guests: []
};
const headers = new Headers();
headers.append('Authorization', `Bearer ${accessToken}`);
headers.append('Accept', 'application/json');
headers.append('X-Tallyfy-Client', 'APIClient');
headers.append('Content-Type', 'application/json');
fetch(apiUrl, {
method: 'PUT',
headers: headers,
body: JSON.stringify(updateData)
})
.then(response => {
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
return response.json();
})
.then(data => {
console.log(`Successfully updated group ${groupId}:`);
console.log(JSON.stringify(data, null, 2));
})
.catch(error => {
console.error(`Error updating group ${groupId}:`, error.message);
});

Response

A successful request returns a 201 Created status and a JSON object containing the full group details after the update, wrapped in a data object.

{
"data": {
"id": "GROUP_ID_TO_UPDATE",
"name": "Project Alpha Core Team",
"description": "Updated team description.",
"logo": null,
"members": [1001, 1008, 1010],
"guests": [],
"created_at": "2025-01-15T10:30:00.000000Z",
"last_updated": "2025-06-20T14:22:00.000000Z"
}
}

If the group ID isn’t found, you lack permission, or the request body is invalid, expect a 404, 403, 400, or 422 error.


Groups > Create group

Tallyfy’s API lets you create a new group by sending a POST request to /organizations/[org_id]/groups with a unique name and description along with optional member user IDs and guest email addresses and returns the new group’s details including its ID for future operations.

Members > Update member

Tallyfy’s API lets admins update a member’s profile (name and timezone and optional fields like phone or job title) via a PUT request to /organizations/[org_id]/users/[user_id] and returns the full updated profile on success.

Guests > Update guest

Tallyfy’s PUT endpoint at /organizations/[org_id]/guests/[guest_email] lets you update only the associated_members field for an existing guest by sending an array of member IDs and returns the full guest record with a 201 status on success.

Code Samples > Managing groups

Tallyfy’s Groups API lets you bundle members and guests into reusable groups that can be assigned to tasks and processes through standard create/list/get/update/delete operations scoped to your organization.