'Stop being friends with a user.'

@require_oauth2_scope('subscribe')
@validate(VUser(), friend_rel=VFriendOfMine('username'))
@api_doc(api_section.users, uri='/api/v1/me/friends/{username}')
def DELETE_friends(self, friend_rel):

    c.user.remove_friend(friend_rel._thing2)
    if c.user.gold:
        c.user.friend_rels_cache(_update=True)
    response.status = 204
