Rule.delete
Description
Deletes the rule with the given ruleId.
Request specification
- Method: DELETE
- URL:
/rules/{ruleId}
- Call parameters:
ruleId
: the id of the rule, as returned by Rule.create.
Example Request
- Request URL:
https://www.lhings.com/laas/api/v1/rules/234
- Request headers:
X-Api-Key: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
- Request method: DELETE
Example Response
- HTTP status: 200 OK
- Response body:
{"responseStatus":200,"message":"OK"}
Error summary
- 200: success.
- 401: Api key not provided or invalid.
- 404: given rule does not exist.