v1
Double column
API
CLI
JS Client

Addons /

Restore addon backup

Restores the given addon to the given backup state.

Required permission

Project > Addons > General > Update

Path parameters

    • projectId

      string required
      ID of the project
    • addonId

      string required
      ID of the addon
    • backupId

      string required
      ID of the backup

Query parameters

    • sourceProjectId

      string
      Specify the source projectId when referring to a global backup.
    • sourceAddonId

      string
      Specify the source addonId when referring to a global backup.

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
      • restoreId

        string required
        The ID of the initiated restore.
API
CLI
JS Client

POST /v1/projects/{projectId}/addons/{addonId}/backups/{backupId}/restore

Example response

200 OK

Details about the backup restore.

JSON

{
  "data": {
    "restoreId": "1611305397038"
  }
}

© 2024 Northflank Ltd. All rights reserved.