MENU
      Rename profile
        • PDF

        Rename profile

        • PDF

        Article summary

        Overview

        Rename the existing profile.

        Requests

        Request URL

        PUT
        https://edge.apigw.ntruss.com/api/v1/profiles/{profileId}
        Plain text

        Request parameters

        Parameter nameRequirement statusTypeRestrictionsDescription
        profileIdYesStringProfile number

        Request body

        ItemRequirement statusTypeRestrictionsDescription
        nameYesStringEnglish, dashes, underscores allowed
        Minimum 3 characters, maximum 35 characters
        Profile name to create

        Responses

        All responses return success or failure as HTTP Status Code.

        HTTP status codeCode messageDescription
        200SuccessSearch succeeded
        401UnauthorizedAuthentication failed
        500Internal Server ErrorServer error

        Examples

        Request examples

        https://edge.apigw.ntruss.com/api/v1/profiles/1234
        Plain text
        {
          "name": "my-sample-profile"
        }
        JSON

        Response examples

        {
          "code": "0000",
          "message": "Success",
          "result": {
            "profileId": 9999
          }
        }
        JSON

        Errors

        Error codeDescription
        0032Request not allowed
        0101Duplicate profile name
        0400Request data format mismatch
        9999Server error occurred

        Was this article helpful?

        What's Next
        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.