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
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.App;

namespace Voice.Api.App
{
    ///<summary>
    ///Delete the specified token
    ///</summary>
    [Api(Description="Delete the specified token")]
    public partial class DeleteDeviceToken
        : IDelete
    {
        ///<summary>
        ///The token to delete
        ///</summary>
        [ApiMember(Description="The token to delete")]
        public virtual string Token { get; set; }
    }

}

C# DeleteDeviceToken DTOs

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

HTTP + JSV

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: text/jsv