MENU
      Deleting Player

        Deleting Player


        Article summary

        The following describes how to delete a player.

        Requests

        DELETE {API_URL}/players/{player_no}
        HTTP

        Request Parameters

        Field nameRequirement statusTypeRestrictionsDescription
        player_noYIntegerPath ParameterNumber of player to be deleted

        Success code

        HttpStatusCodeCodeMessage
        200200ok

        Errors

        HttpStatusCodeCodeMessageDescription
        2004601Query string player_no is missing.
        2004801No player information.

        Request Examples

        DELETE /api/v1/player/1
        HOST: vpe.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-apigw-timestamp:1521787414578
        x-ncp-iam-access-key:6uxz1nKkcYwUjWRG5Q1V7NsW0i5jErlu2NjBXXgy
        x-ncp-apigw-signature-v2:iJFK773KH0WwQ79PasqJ+ZGixtpDQ/abS57WGQdld2M=
        x-ncp-region_code:KR
        HTTP

        Response examples

        HTTP/1.1 200 OK
        Date: Fri, 26 Feb 2021 09:53:32 GMT
        Content-Type: application/json;charset=utf-8
        Connection: keep-alive
        Access-Control-Allow-Origin: *
        x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
        
        // Upon success
        {
          "code": "200",
          "message": "ok"
        }
        
        // Upon failure
        "error": {
            "errorCode": "4801",
            "message": "No player information."
          }
        }
        HTTP

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.