federation-api: Fix send_leave version in path
@@ -10,7 +10,7 @@ ruma_api! {
description: "Submits a signed leave event to the receiving server for it to accept it into the room's graph.",
name: "create_leave_event",
method: PUT,
- stable_path: "/_matrix/federation/v1/send_leave/:room_id/:event_id",
+ stable_path: "/_matrix/federation/v2/send_leave/:room_id/:event_id",
rate_limited: false,
authentication: ServerSignatures,
added: 1.0,
