Email Preferences

Toggle all optional email preferences

Sets the same opt-in value for every optional email category on your account.

Send opted_in: false to pause every optional notification at once, or opted_in: true to resume them. Required categories are not affected and stay opted in. This is the API equivalent of the All Optional Notifications switch in the console.

put/auth/email/opt-out

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/auth/email/opt-out
  • Auth: API key in header api_key

Request body

opted_inboolean required

Set to true to receive the notification, or false to turn it off.

Response

Success

messagestring

Human-readable description of the result.

Changes

No recorded changes to this operation across all 1 revision of this API.