Add/Edit Backup Note

To update backup with a note, use the following request:

PUT /backups/:backup_id/note.xml
PUT /backups/:backup_id/note.json

XML Request Example

curl -X PUT http://onapp.test/backups/12/note.xml -d '<backup><note>test note</note></backup>' -u user:password -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -X PUT http://onapp.test/backups/12/note.json -d '{"backup":{"note":"test note"}}' -u user:password -H 'Accept: application/json' -H 'Content-type: application/json'