Deletes an account by email address specified in the request.
Name | Description | Type | Example |
email
sent in body
|
Account email address | string | some text |
DELETE api/2.0/mail/accounts Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "email": "some text" }
Operation status
application/json
{ "status": 0, "response": { "Completed": true, "Id": "Id", "Status": "Status", "Error": "Error", "Percents": 100, "Source": "Source", "OperationType": 1, "Operation": "Operation" } }
text/xml
<result> <status>0</status> <response> <Completed>True</Completed> <Id>Id</Id> <Status>Status</Status> <Error>Error</Error> <Percents>100</Percents> <Source>Source</Source> <OperationType>1</OperationType> <Operation>Operation</Operation> </response> </result>