clearGroupIconSet method

Future<bool> clearGroupIconSet(
  1. String id,
  2. String postBody
)
inherited

clearGroupIconSet -> /v1/clear/group/{id}/icon

Sets the custom icon of the specified clear group.

PARAMETERS

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

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

postBody (required) : This is the data that must be sent with this request.

RESPONSE 204:

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

content-type: NONE

Implementation

Future<bool> clearGroupIconSet(String id, String postBody) async {
  String url = '/v1/clear/group/$id/icon';

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