End-to-end encryption

Delete a key from the backup.

Delete a key from the backup.

delete/_matrix/client/v3/room_keys/keys/{roomId}/{sessionId}

Request

Path parameters

roomIdstring required

The ID of the room that the specified key is for.

sessionIdstring required

The ID of the megolm session whose key is to be deleted.

Query parameters

versionstring required

The backup from which to delete the key

Response

The update succeeded

countinteger required

The number of keys stored in the backup

etagstring required

The new etag value representing stored keys in the backup.

See GET /room_keys/version/{version} for more details.

Example response

{
  "count": 10,
  "etag": "abcdefg"
}

Changes

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