API
이메일 종류 켜기 또는 끄기
OpenEmail이 그 사람에게 보내는 이메일 중 한 종류를 멈추거나 다시 보냅니다.
PUT/account/notifications/email/{category}
워크스페이스에 실제 호출을 실행합니다.
PUT /account/notifications/email/{category}
OpenEmail이 그 사람에게 보내는 이메일 중 한 종류를 멈추거나 다시 보냅니다.
예시
account:write가 필요합니다. category는 activity 또는 product이고, enabled가 false이면 그 이메일이 멈춥니다. 현재 알림 설정으로 응답합니다.
curl -X PUT "$OE/account/notifications/email/product" -H "$AUTH" \ -H "Content-Type: application/json" -d '{ "enabled": false }'{ "object": "notification_settings", "email": [ { "category": "product", "label": "Product news", "description": "Occasional notes about what is new in OpenEmail.", "required": false, "enabled": false } ], "mutedWorkspaces": []}account와 billing은 끌 수 없으며, 끄려고 하면 category에 대한 422 invalid_parameter입니다.