---
title: "Create TLS Policy Map"
method: POST
path: "/api/v1/add/tls-policy-map"
tags: ["Outgoing TLS Policy Map Overrides"]
---

# Create TLS Policy Map

`POST /api/v1/add/tls-policy-map`

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

## Request body

- object
  - `parameters` string — custom parameters you find out more about them [here](http://www.postfix.org/postconf.5.html#smtp_tls_policy_maps)
  - `active` number — 1 for a active user account 0 for a disabled user account
  - `dest` string — the target domain or email address
  - `policy` 'none' | 'may' | 'encrypt' | 'dane' | ''dane' | 'fingerprint' | 'verify' | 'secure' — the policy

## Response `200`

OK

- object
  - `log` unknown[] — contains request object
    - unknown
  - `msg` unknown[]
    - unknown
  - `type` 'success' | 'danger' | 'error'

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/mailcow/apis/mailcow-api.md) · [All operations](https://skmtc.dev/mailcow/apis/mailcow-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mailcow/mailcow-api/revisions/ae01d1d7886a/schema)
