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
- Base URLhttps://matrix.org
- Auth
- API key in query parameter access_token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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.