timerDelete method

Future<bool> timerDelete(
  1. String id
)
inherited

timerDelete -> /v1/timer/{id}

Deletes the specified timer.

PARAMETERS

id (required) : The ID of the timer, either name, index or UUID.

  • Example (by_name): Timer Name
  • Example (by_index): 3
  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4

RESPONSE 204:

The request was processed successfully. There is no response body.

content-type: NONE

Implementation

Future<bool> timerDelete(String id) async {
  String url = '/v1/timer/$id';

  return await call('delete', url, httpAccept: 'application/json');
}