Delete webmail password

Delete disposable password created for webmail (IMAP/POP/SMTP) authentication

  • HTTP Method: DELETE
  • URL: https://example.domain.tld/api/v1/webmail/password/<webmail_id>/
  • Require authentication: Yes
  • Permission level required: MailUser

Path parameters

Parameter Type Description Required
webmail_id int 1 or 2 Required

Response

HTTP 204 NO CONTENT (empty string)

Example request (Python)

import requests
import json
from pprint import pprint

url = "https://example.domain.tld/api/v1/webmail/password/1/"
r = requests.delete(url, auth=("u1@vonmail.com","long-auth_token-here"))
try:
    pprint(r.json())
except:
    print(r.text)
print(r.status_code)

Example response (text)


204