Перейти к содержимому

Delete message

Deletes a single message. Messages in progress will be automatically canceled.

Request data format

Element/attributeTypeNotes
apiKeystringYour API key, required for authentication. Required.
IDintegerMessage ID. 

Examples

Request:

DELETE https://api.esv2.com/v2/Api/Messages/123?apiKey=test_api_key1 HTTP/1.1
Host: api.esv2.com

OK response:

HTTP/1.1 204 No Content 
Cache-Control: private 
Server: Microsoft-IIS/7.5 
X-AspNetMvc-Version: 2.0 
X-AspNet-Version: 2.0.50727 
Set-Cookie: TIMEZONE=Central European Standard Time; path=/ 
X-Powered-By: ASP.NET 
Date: Wed, 19 Oct 2011 12:15:04 GMT