Notifications
Update Notification Email Preferences
PUT
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
application/json- body
preferences*array<>Success
application/json- response
[index: integer]?curl -X PUT 'https://api.faststats.dev/v0/notifications/email-preferences' \
-H 'Content-Type: application/json' \
-d '{
"preferences": [
{
"type": "organization_invite",
"emailEnabled": true
}
]
}'Example Response
[
{
"type": "organization_invite",
"emailEnabled": true
}
]