Zum Hauptinhalt springen

Update a mail setting of a Project

PATCH /v2/projects/{projectId}/mail-settings/{mailSetting}/
v2
PATCH
mail-update-project-mail-setting

Request

  • projectIdstring
    required

    ID of the Project to update a mail setting for.

  • mailSettingstring (one of: blacklist, whitelist)
    required

    The mail setting to update.

Responses

Kein Request-Inhalt spezifiziert.

Usage examples

$ curl \
--fail \
--location \
-X PATCH \
-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