Skip to content

Function: deleteGroup() ​

ts
function deleteGroup(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/admin/api/groups.ts:215

Delete a group from a directory if you don’t need this group anymore. This removes any app access and permissions granted by this group from all members. A member can still access an app if they’re in another group that grants access to the same app.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ directoryId: string; groupId: string; orgId: string; }-
parameters.directoryIdstringA directory has a unique ID. Use the Get directories endpoint to find the directory ID.
parameters.groupId?stringA group has a unique ID. Use the Get groups endpoint to find the group ID.
parameters.orgId?stringYour organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.
options?RequestOptions-

Returns ​

Promise<void>