Layerbeat

Save your workspace email preferences

PUT
/v1/notifications/preferences

Updates your email preferences for the current workspace.

Access: User session. API keys aren't supported.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.

Request Body

application/json
  1. body
vps_updates*boolean
billing_updates*boolean
service_updates*boolean
product_updates*boolean

Response Body

The signed-in user’s notification settings or delivery history.

application/json
  1. response
org_id*string
vps_updates*boolean
billing_updates*boolean
service_updates*boolean
product_updates*boolean
curl -X PUT 'https://layerbeat.com/v1/notifications/preferences' \  -H 'Content-Type: application/json' \  -d '{  "vps_updates": false,  "billing_updates": true,  "service_updates": true,  "product_updates": false}'
{  "org_id": "org_demo",  "vps_updates": false,  "billing_updates": true,  "service_updates": true,  "product_updates": false}