delete method
Delete Team
Delete a team by its unique ID. Only team owners have write access for this resource.
Implementation
Future<req.Response> delete({required String teamId}) {
final String path =
'/teams/{teamId}'.replaceAll(RegExp('{teamId}'), teamId);
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);
}