v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01960201.2 KB
Outgoing TLS Policy Map Overrides

Create TLS Policy Map

Using this endpoint you can create a TLS policy map override.

post/api/v1/add/tls-policy-map

Request body

parametersstring

custom parameters you find out more about them here

activenumber

1 for a active user account 0 for a disabled user account

deststring

the target domain or email address

policy'none' | 'may' | 'encrypt' | 'dane' | ''dane' | 'fingerprint' | 'verify' | 'secure'

the policy

Example request

{
  "parameters": "",
  "active": "1",
  "dest": "mailcow.tld",
  "policy": "encrypt"
}

Response

OK

type'success' | 'danger' | 'error'