| Required role: | User | 
| DELETE | /app/tokens | 
|---|
import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
/**
* Delete the specified token
*/
// @Api(Description="Delete the specified token")
class DeleteDeviceToken implements IDelete, IConvertible
{
    /**
    * The token to delete
    */
    // @ApiMember(Description="The token to delete")
    String? token;
    DeleteDeviceToken({this.token});
    DeleteDeviceToken.fromJson(Map<String, dynamic> json) { fromMap(json); }
    fromMap(Map<String, dynamic> json) {
        token = json['token'];
        return this;
    }
    Map<String, dynamic> toJson() => {
        'token': token
    };
    getTypeName() => "DeleteDeviceToken";
    TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'evovoice.io', types: <String, TypeInfo> {
    'DeleteDeviceToken': TypeInfo(TypeOf.Class, create:() => DeleteDeviceToken()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /app/tokens HTTP/1.1 Host: evovoice.io Accept: application/json