Skip to content

Update group

Endpoint

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

Updates a group’s details or membership within your Tallyfy organization. You’ll need 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 don’t have permission, or the request body is invalid, expect a 404, 403, 400, or 422 error.


Groups > Create group

Create a new group in your Tallyfy organization via a POST request with a name, description, and…

Members > Update member

Tallyfy’s API lets admins update a member’s profile (name, timezone, and optional fields like…

Guests > Update guest

Tallyfy’s PUT endpoint at /organizations/[org_id]/guests/[guest_email] updates the…

Groups > Get group

Fetch details of a specific group in your Tallyfy organization using a GET request. Returns the…