Skip to main content
Version: SDK-5.11.2

BreakFriend

public BackendReturnObject BreakFriend(string gamerIndate);

Parameter

ValueTypeDescription
gamerIndatestringgamerIndate of the friend to delete

Description

Deletes the user of the corresponding gamerIndate from the friends list.

Example

Synchronous

Backend.Friend.BreakFriend("2020-12-10T08:22:30.891Z");

Asynchronous

Backend.Friend.BreakFriend("2020-12-10T08:22:30.891Z", (callback) => {
// Post-process
});

SendQueue

SendQueue.Enqueue(Backend.Friend.BreakFriend, "2020-12-10T08:22:30.891Z", (callback) => {
// Post-process
});

Return cases

Success cases

When the deletion is successful
statusCode : 204
message : Success

Error cases

When the gamerIndate is wrong / When the user is not a friend
statusCode : 404
errorCode : NotFoundException
message : friendGamer not found, friendGamer cannot be found