Opt out of emails
POST
/user/mail/optout/
User
Even though the value is updated, this change is not reflected in the member details in the Chapter dashboard.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/user/mail/optout/' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id": "1234"
}'
Response Response Example
400 - Example 1
{
"details": "The request is invalid. The rational will be in the response body."
}
Request
Body Params application/json