Skip to content

Delete group

Endpoint

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

This endpoint permanently deletes a group from your Tallyfy organization. It doesn’t delete the members or guests themselves — only the group association.

Request

Replace {org_id} with your Organization ID and {group_id} with the ID of the group you want to delete.

Headers

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

Body

No request body is needed.

Code samples

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);
});

Response

A successful request returns a 204 No Content status with an empty response body. This is a permanent (hard) deletion — the group can’t be recovered after deletion.

Tags > Delete tag

Permanently deletes a tag and all its associations from your organization. This can’t be undone - the API returns 204 No Content on success.

Code Samples > Managing groups

API endpoints let you create, list, get, update, and delete groups that organize members and guests for task and process assignment.

Groups > Get group

Retrieve details of a specific group in your organization by its ID using a GET request with code examples in multiple languages.

Files > Delete file

A DELETE endpoint that permanently removes an uploaded file from a task or kick-off form field using /organizations/[org_id]/file/[asset_id] and returns a 200 OK status with an empty response body.