deleteSessions method

Future<Response> deleteSessions()

Delete All Account Sessions

Delete all sessions from the user account and remove any sessions cookies from the end client.

Implementation

Future<req.Response> deleteSessions() {
  final String path = '/account/sessions';

  final Map<String, dynamic> params = {};

  final Map<String, String> headers = {
    'content-type': 'application/json',
  };

  return client.call(HttpMethod.delete,
      path: path, params: params, headers: headers);
}