Skip to content

Delete group

DELETE /organizations/{org_id}/groups/{group_id}

This permanently deletes a group from your Tallyfy organization. The members and guests in the group aren’t deleted. Only the group itself goes.

Tallyfy also takes the group off every template step, task and process it was assigned to. Any template or process permissions it granted are removed too. Members and guests who already got a task through the group keep that task as individuals. A template step assigned only to this group is left with no assignee.

Replace {org_id} with your organization ID. Replace {group_id} with the ID of the group to delete.

  • Authorization: Bearer {your_access_token}
  • Accept: application/json
  • X-Tallyfy-Client: APIClient

You don’t need a request body.

const accessToken = 'YOUR_PERSONAL_ACCESS_TOKEN';
const orgId = 'YOUR_ORGANIZATION_ID';
const groupId = 'GROUP_ID_TO_DELETE';
const apiUrl = `https://go.tallyfy.com/api/organizations/${orgId}/groups/${groupId}`;
const headers = new Headers();
headers.append('Authorization', `Bearer ${accessToken}`);
headers.append('Accept', 'application/json');
headers.append('X-Tallyfy-Client', 'APIClient');
fetch(apiUrl, {
method: 'DELETE',
headers: headers
})
.then(response => {
if (response.status === 204) {
console.log(`Successfully deleted group ${groupId}. Status: 204 No Content`);
} else {
return response.json()
.catch(() => response.text())
.then(errData => {
console.error(`Failed to delete group ${groupId}. Status: ${response.status}`, errData);
throw new Error(`HTTP error! status: ${response.status}`);
});
}
})
.catch(error => {
console.error(`Error deleting group ${groupId}:`, error.message);
});

You’ll get 204 No Content. The response body is empty. The delete is permanent, so you can’t get the group back.

Tags > Delete tag

Tallyfy’s DELETE API endpoint at /organizations/[org_id]/tags/[tag_id] permanently removes a…

Tasks > Delete task

Tallyfy’s API lets you permanently delete a standalone one-off task along with its form fields…

Groups > Get group

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