messaageDelete method

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

messaageDelete -> /v1/message/{id}

Deletes the specified message.

PARAMETERS

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

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

RESPONSE 204:

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

content-type: NONE

Implementation

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

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