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