Delete Custom Group

Last Updated on : 2023-06-21 07:12:59download

Delete a specified custom group.

API address

DELETE: /v1.0/iot-02/lighting/groups/package

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
spaceIdStringbodytrueThe ID of a specified space.
groupPackageIdStringbodytrueThe ID of a specified custom group.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result.

Request example

DELETE: /v1.0/iot-02/lighting/groups/package
{
  "spaceId": "1468899630715596800",
  "groupPackageId": "1470663251091013632"
}

Return example

{
    "result": true,
    "t": 1640604810918,
    "success": true
}

Error code

For more information, see error code.