DELETE/groups/{groupId}

Deletes a group for an external key of the customer or for a resource ID. This API operation cannot delete an external group.

Caution

  • Once a group is deleted, all its messages, notes, events and folders are deleted as well.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

directory
group

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/groups/{groupId}

Path Parameters

ParameterTypeDescription
groupId string 

Group ID or external key.
External key in "externalKey:{externalKey}" format


required 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content