Todo.ly REST API Method: DELETE /User/Id

Deletes the current authenticated user. For the sake of consistency this method uses the same URL pattern as the rest of the methods, however the Id of the user is not used. Currently only the authenticated user can be deleted. Use 0 for the Id paramater.

URL:

https://todo.ly/api/user/0.format

Formats:

xml, json

HTTP Method(s):

DELETE

Requires Authentication:

true

Parameters:

None

Usage examples:

https://todo.ly/api/user/0.xml

Response:

The response contain the details of the deleted user.

<UserObject> 
  <Id>12345</Id> 
  <Email>mail@todo.ly</Email> 
  <FullName>Peter Varadi</FullName> 
  <TimeZone>0</TimeZone> 
  <IsProUser>false</IsProUser> 
  <DefaultProjectId>123</DefaultProjectId> 
  <AddItemMoreExpanded>false</AddItemMoreExpanded> 
  <EditDueDateMoreExpanded>true</EditDueDateMoreExpanded> 
  <ListSortType>0</ListSortType> 
  <FirstDayOfWeek>1</FirstDayOfWeek> 
  <NewTaskDueDate>0</NewTaskDueDate> 
</UserObject>