DELETE | /portal/files/{fileId} |
---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class AppDeleteFile implements IConvertible
{
String? accountId;
String? customerId;
String? fileId;
AppDeleteFile({this.accountId,this.customerId,this.fileId});
AppDeleteFile.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
accountId = json['accountId'];
customerId = json['customerId'];
fileId = json['fileId'];
return this;
}
Map<String, dynamic> toJson() => {
'accountId': accountId,
'customerId': customerId,
'fileId': fileId
};
getTypeName() => "AppDeleteFile";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: <String, TypeInfo> {
'AppDeleteFile': TypeInfo(TypeOf.Class, create:() => AppDeleteFile()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /portal/files/{fileId} HTTP/1.1 Host: team.evovoice.io Accept: text/csv