Skip to main content

Update a mail setting of a Project

PUT /v2/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

No response content specified.

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