Skip to main content

Remove group type

DELETE 

/groups-srv/grouptypes/:groupType

This API call deletes a group type if it is not assigned to any user group.

Validation Rules:

  • The group type must exist in the system.
  • The group type must not be assigned to any user group (no user groups can have this groupType).
  • Group Types Setup with objectOwner: admin cannot be deleted.

Business Rules:

  • Before deleting a group type, ensure all user groups using this groupType are deleted or updated to use a different groupType.
  • System group types (objectOwner: admin) are protected and cannot be deleted.

Request

Responses

OK