# (NEW!) Delete Security User Group Permanently delete a security user group the authenticated customer owns. There is no force-delete override — mirrors role delete. Delete Rules: - Group must exist for the authenticated customer (or not be a channel-type group). - Deletion is blocked when either at least one user currently has this group, or at least one security template still references it. Both conditions are checked and reported together. - The group is not silently stripped from security templates or from users' memberships to allow the delete — the caller must resolve the blockers first. This action is permanent and cannot be undone. The user submitting the request must have the User Management privilege. Endpoint: DELETE /security/user-groups/{id} Version: 1.5 Security: ApiKeyAuth, BasicAuth ## Header parameters: - `X-API-Key` (string, required) Customer-specific API key required to invoke API. - `Authorization` (string, required) Provided by Authentication Token creation operation. ## Path parameters: - `id` (string, required) The unique ID of the group to delete. Example: "group-hooli-corporate" ## Response 401 fields (application/json): - `status` (string) Example: "error" - `message` (string) ## Response 403 fields (application/json): - `status` (string) Example: "error" - `message` (string) ## Response 404 fields (application/json): - `status` (string) Example: "error" - `message` (string) ## Response 409 fields (application/json): - `status` (string) Example: "error" - `message` (string) - `code` (string) Enum: "GROUP_IN_USE" - `details` (object) - `details.userCount` (integer) Number of users currently in this group. - `details.securityTemplates` (array) Security templates still referencing this group. - `details.securityTemplates.id` (string) - `details.securityTemplates.name` (string) ## Response 204 fields