deleteSessions method
Delete User Sessions
Delete all user's sessions by using the user's unique ID.
Implementation
Future<Response> deleteSessions({@required String userId}) {
final String path = '/users/{userId}/sessions'.replaceAll(RegExp('{userId}'), userId);
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);
}