V1MeNotification preferencesCategory
Set inbox preferences and explicit push consent
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
category*string
Value in
- "community"
- "events"
- "rewards"
- "medical_leave"
- "care"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/v1/me/notification-preferences/community" \ -H "Content-Type: application/json" \ -d '{ "inbox": true, "push": true }'{ "category": "community", "inbox": true, "push": true, "pushConsentAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}