DELETE groups/{groupId}

Deletes the specified group from the environment.

Remarks

C4M Error Code returned:

  • null

    The group has been deleted successfully.

  • GroupNotFound

    The requested group does not exist.

  • CannotRemoveGroupWithElements

    The requested group cannot be deleted because it contains one or more devices in it's hierarchy.

HTTP Status returned:
  • 403 - Forbidden

    The authenticated user doesn't have permission to access the resource.

Request Information

Parameters

NameDescriptionAdditional information
groupId
The identifier of the group to delete.

Define this parameter in the request URI.

Response Information

Operation result.

Response body formats

application/json, text/json

Sample:
{
  "error": null
}