Skip to navigation

Update a backup's comment

View as MarkdownOpen in Claude

Writes the comment of one backup, replacing whatever it held: use it to record why the backup was taken. Send null or omit the field to clear it. The stored value is purified HTML: plain text comes back wrapped in a paragraph.

Your role must be allowed to update backups; without it the request answers 404.

Body

  • comment (string or null, optional): at most 2500 bytes once HTML tags are stripped (a character outside plain ASCII counts as more than one byte).

Errors

  • 422: the comment is not a string or is too long.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

siteBackupstringRequired

Request

This endpoint expects an object.
commentstringOptional

Response

200 - Site backup comment updated

dataobjectOptional
jsonapiobjectOptional