Skip to main content
DELETE
Delete Group

Authentication and permissions

Token requirements: User-based token (OAuth) or Organization-scoped API key or Workspace-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Workspace keys must allow every workspace checked by the request. OAuth access depends on the user’s roles and resource access.
  • Manage an organization-wide group: A group synced from an integration can be deleted only after that integration is removed. A SCIM directory group is removed only by its directory sync. With a user OAuth token, deleting a group that grants a workspace role needs a connection approved with Allow managing members and roles where your organization requires it.
  • Manage a restricted group: A second check requires a user owner, an organization-admin user, or permission to manage groups on a manager workspace. Organization-scoped API keys cannot manage restricted groups. A group synced from an integration can be deleted only after that integration is removed. A SCIM directory group is removed only by its directory sync. With a user OAuth token, deleting a group that grants a workspace role needs a connection approved with Allow managing members and roles where your organization requires it.
  • Manage a group your workspace manages: A workspace-scoped key can delete only groups managed by a workspace it allows, never organization-wide groups. A group synced from an integration can be deleted only after that integration is removed. A SCIM directory group is removed only by its directory sync. A workspace-scoped key cannot delete a group that grants a workspace role. The key must hold groups:manage; a full-access workspace key cannot.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The exact group UUID.

Response

200 - application/json

Success

The response is of type DeleteGroupResponse · object.