User Tools

Site Tools


api:mailbox:delete

API : Mailbox Delete

Introduction

This request will delete a specific mailbox message. Attached files will be deleted if from mailbox 'IN' and only from mailbox 'OUT' if deleteFiles flag is set.

Request

URL https://api.telecomx.dk/mailbox/MESSAGE_ID
Method DELETE
Access level RESELLER_ADMIN with PORTING feature.
Param MESSAGE_ID Id of the message (24 hex-char string)

Query example

https://api.telecomx.dk/mailbox/1234567890ABCDEF12345678/1234567890ABCDEF12345670

Response

Json object
success Boolean True if request was sucessful.

Example

{
  success: true
}

Errors

Error code Message Description
400 bad_request Id not found in request URI
404 id Message not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/mailbox/delete.txt · Last modified: 2023/10/30 14:03 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki