DeleteFriend
public BackndReturnObject DeleteFriend(string gamerIndate);
Parameter
Value | Type | Description |
---|---|---|
gamerIndate | string | gamerIndate of the friend to delete |
Description
Deletes the user of the corresponding gamerIndate from the friends list.
Example
Synchronous
Backnd.Friend.DeleteFriend("2020-12-10T08:22:30.891Z");
Asynchronous
Backnd.Friend.DeleteFriend("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