prufy
Skip to the page

AlertsRemove the alert email

Alerts

Remove the alert email

Stop sending alerts by email and forget the address.

DELETE/api/v1/notifications/email

Answers with the settings as they are afterwards, with email: null.

Authentication

Send the session cookie. Without it the answer is unauthorized. How sessions work.

Response

200 OK, with every field below present. Times are ISO 8601 strings in UTC.

  • emailobject | null

    The alert address. Null when none is set.

    Show the 2 fields insideInside email
    • addressstring

      Where alert emails go.

    • verifiedboolean

      False until the confirmation link has been used.

  • pushDevicesinteger

    How many browsers are subscribed to push.

  • capabilitiesobject

    Which channels this server can use.

    Show the 2 fields insideInside capabilities
    • emailboolean

      Whether this server can send email at all.

    • pushPublicKeystring | null

      The key a browser subscribes with. Null when push is off.

Errors

StatusKindWhen
401unauthorizedThe request has no session cookie, or one we don't recognise.

Any route can also answer 500 with internal_error. Every error has the same shape, described in Errors.