End-to-end encryption

Update information about an existing backup.

Update information about an existing backup. Only auth_data can be modified.

put/_matrix/client/v3/room_keys/version/{version}

Request

Path parameters

versionstring required

The backup version to update, as returned in the version parameter in the response of POST /_matrix/client/v3/room_keys/version or GET /_matrix/client/v3/room_keys/version/{version}.

Request body

algorithm'm.megolm_backup.v1.curve25519-aes-sha2' required

The algorithm used for storing backups. Must be the same as the algorithm currently used by the backup.

auth_dataobject required

Algorithm-dependent data. See the documentation for the backup algorithms in Server-side key backups for more information on the expected format of the data.

versionstring

The backup version. If present, must be the same as the version in the path parameter.

Example request

{
  "algorithm": "m.megolm_backup.v1.curve25519-aes-sha2",
  "auth_data": {
    "public_key": "abcdefg",
    "signatures": {
      "@alice:example.org": {
        "ed25519:deviceid": "signature"
      }
    }
  },
  "version": "1"
}

Response

The update succeeded.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.