Zum Hauptinhalt springen

Update a mail setting of a Project

PUT/projects/{projectId}/mail-settings/{setting}/
v2
PUT
mail-update-project-mail-setting-v2-deprecated

Request

  • projectIdstring
    required

    ID of the Project to update a mail setting for.

  • settingstring (one of: blacklist, whitelist)
    required

    The setting to update.

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X PUT \
-d '{"blacklist":["email@mittwald.example"]}' \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
-H 'Content-Type: application/json' \
https://api.mittwald.de/v2/projects/string/mail-settings/blacklist