Evo Voice

<back to all web services

DeleteDeviceToken

Delete the specified token

Requires Authentication
Required role:User
The following routes are available for this service:
DELETE/app/tokens
namespace Voice.Api.App

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    ///<summary>
    ///Delete the specified token
    ///</summary>
    [<Api(Description="Delete the specified token")>]
    [<AllowNullLiteral>]
    type DeleteDeviceToken() = 
        interface IDelete
        ///<summary>
        ///The token to delete
        ///</summary>
        [<ApiMember(Description="The token to delete")>]
        member val Token:String = null with get,set

F# DeleteDeviceToken DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

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/xml