Skip to main content
Version: 5.11.8

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

Error cases

When the gamerIndate is wrong / When the user is not a friend
statusCode : 404
errorCode : NotFoundException