Delete Custom Group

Last Updated on : 2023-06-15 06:09:28

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.