Below is script that can be used to delete a user group utilizing Graph QL:
mutation { deleteUserGroup( input:{ id:"crn:573:user-group/############" } ) { id }}Note: Id is Usergroup ID
mutation {
deleteUserGroup(
input:{
id:"crn:573:user-group/############"
}
)
{
id