DELETE api/List/{id}
Use this method to delete an existing
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The ListId of the to delete |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
The response after attempting to delete an existing
GenericResourceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The unique id of the resource that is worked with |
integer |
None. |
| Success |
True if successful |
boolean |
None. |
| ErrorMessage |
Error message if the request is unsuccessful |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"success": true,
"errorMessage": "sample string 3"
}
application/xml, text/xml
Sample:
<GenericResourceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TScunts.Models.API.List"> <ErrorMessage>sample string 3</ErrorMessage> <Id>1</Id> <Success>true</Success> </GenericResourceResponse>