Notifications
Update Notification Email Preferences
Authorization
apiKeyAuth x-api-key<token>
FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/v0/notifications/email-preferences" \ -H "Content-Type: application/json" \ -d '{ "preferences": [ { "type": "organization_invite", "emailEnabled": true } ] }'[ { "type": "organization_invite", "emailEnabled": true }]preferences*array<>