It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda Intronis Backup
formerly ECHOplatform

Computer Notifications Email

  • Last updated on

URI

/v1/accounts/{username}/computers/{computer_id}/notifications/emails/{email_id}

URI Parameters

  • username (string)
  • computer_id (string)
  • email_id (int)

Methods

GET, PUT, DELETE

GET /v1/accounts/{username}/computers/{computer_id}/notifications/emails/{email_id}

Gets an email's information.

Scope

computers_read

Request Body Parameters

  • n/a

Response Attributes

  • email (string)
  • backup_completed (bool) – If true, the email will receive the Backup Completed Notification
  • backup_warning (bool) – If true, the email will receive the Backup Warning Notification
  • backup_failed (bool) – If true, the email will receive the Backup Failed Notification
  • backup_missed (bool) – If true, the email will receive the Backup Missed Notification
  • no_recent_backup (bool) – If true, the email will receive the No Recent Backup Notification

Example JSON

Request:

GET /v1/accounts/barracuda/computers/0000/notifications/emails/10 HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/json

 

Response:

HTTP/1.1 200 OK

Content-Type: application/json

 

{

  "email": "support@barracudamsp.com",

  "backup_completed": false,

  "backup_warning": false,

  "backup_failed": false,

  "backup_missed": true,

  "no_recent_backup": false,

}

Example XML

Request:

GET /v1/accounts/barracuda/computers/0000/notifications/emails/10 HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Accept: application/xml

 

Response:

HTTP/1.1 200 OK

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<email>

  <email>support@barracudamsp.com</email>

  <backup_completed>false</backup_completed>

  <backup_warning>false</backup_warning>

  <backup_failed>false</backup_failed>

  <backup_missed>true</backup_missing>

  <no_recent_backup>false</no_recent_backup>

</email>

PUT /v1/accounts/{username}/computers/{computer_id}/notifications/emails/{email_id}

Edits an email's information.

Scope

computers_write

Request Body Parameters

  • email (string)
  • backup_completed (bool) – If true, the email will receive the Backup Completed Notification
  • backup_warning (bool) – If true, the email will receive the Backup Warning Notification
  • backup_failed (bool) – If true, the email will receive the Backup Failed Notification
  • backup_missed (bool) – If true, the email will receive the Backup Missed Notification
  • no_recent_backup (bool) – If true, the email will receive the No Recent Backup Notification

Response Attributes

  • n/a

Example JSON

Request:

POST /v1/accounts/barracuda/computers/0000/notifications/emails/10 HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/json

 

{

  "email": "support@barracudamsp.com",

  "backup_completed": false,

  "backup_warning": false,

  "backup_failed": false,

  "backup_missed": true,

  "no_recent_backup": false,

}

 

Response:

HTTP/1.1 204 No Content

 

Example XML

Request:

GET /v1/accounts/barracuda/computers/0000/notifications/emails/10 HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

Content-Type: application/xml

 

<?xml version="1.0" encoding="UTF-8"?>

<email>

  <email>support@barracudamsp.com</email>

  <backup_completed>false</backup_completed>

  <backup_warning>false</backup_warning>

  <backup_failed>false</backup_failed>

  <backup_missed>true</backup_missing>

  <no_recent_backup>false</no_recent_backup>

</email>

 

Response:

HTTP/1.1 204 No Content

DELETE /v1/accounts/{username}/computers/{computer_id}/notifications/emails/{email_id}

Deletes an email from a computer's notifications. The 0 email_id cannot be deleted and the server responds with 405 Method Not Allowed.

Scope

computers_write

Request Body Parameters

  • n/a

Response Attributes

  • n/a

Example

Request:

DELETE /v1/accounts/barracuda/computers/0000/notifications/emails/10 HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

 

Response:

HTTP/1.1 204 No Content

Example 0 email_id

Request:

DELETE /v1/accounts/barracuda/computers/0000/notifications/emails/0 HTTP/1.1

Host: api.intronis.com

Authorization: OAuth vF9dft4qmT

 

Response:

HTTP/1.1 405 Method Not Allowed