Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display
alltrue
styleh3
pageSuperb Cloud API

PUT /backups/:backup_id/note 

Adds/Updates a backup note

Sections:

Table of Contents
maxLevel4
minLevel2
includeResponse.*|JSON.*|XML.*

Request Parameters

note - your new note

Response

An HTTP 204 response is returned on success

JSON Request example

Code Block
languagebash
themeRDark
 curl -X PUT https://mycp.superb.net/api/<api_url>/backups/:backup_id/note.json -d '{"backup":{"note":"test note"}}' -u user:password -H 'Accept: application/json' -H 'Content-type: application/json'

XML Request example

Code Block
languagebash
themeRDark
curl -X PUT https://mycp.superb.net/api/<api_url>/backups/:backup_id/note.xml -d '<backup><note>test note</note></backup>' -u user:password -H 'Accept: application/xml' -H 'Content-type: application/xml'