Skip to main content

Update a mail setting of a Project

PATCH/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

No response content specified.

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