Edit

Share via


Club.RenameClubAsync(String) Method

Definition

Renames the club. Can only be called by the club owner. Some restrictions apply when renaming and public or private club; hidden clubs can be renamed freely. Note that the club object this is called from will not be updated with the new name even if this method is successful, but if the club object is retrieved again the new name will be reflected.

public Windows.Foundation.IAsyncAction RenameClubAsync (string newName);
abstract member RenameClubAsync : string -> Windows.Foundation.IAsyncAction
override this.RenameClubAsync : string -> Windows.Foundation.IAsyncAction
Public Function RenameClubAsync (newName As String) As IAsyncAction

Parameters

newName
String

New name to give the club

Returns

Windows.Foundation.IAsyncAction

Implements

Microsoft.Xbox.Services.Clubs.__IClubPublicNonVirtuals.RenameClubAsync(System.String)

Remarks

Calls V1 POST clubaccounts.xboxlive.com/clubs/{clubId}

Applies to