Profile 이름 변경
    • PDF

    Profile 이름 변경

    • PDF

    Article Summary

    개요

    기존 Profile 이름을 변경합니다.

    요청

    요청 URL

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

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    profileIdYesLongProfile 번호

    요청 바디

    항목필수 여부타입제약 사항설명
    nameYesString영어, 대시, 언더바 허용
    최소 3자, 최대 35자
    생성할 Profile 이름

    응답

    모든 응답은 HTTP Status Code로 성공 또는 실패를 반환합니다.

    HTTP 상태 코드코드 메시지설명
    200Success조회 성공
    401Unauthorized인증 실패
    500Internal Server Error서버 오류

    예시

    요청 예시

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

    응답 예시

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

    오류 코드

    Error 코드설명
    0032허용되지 않은 요청
    0101프로필 이름 중복
    0400요청 데이터 형식 불일치
    9999서버 오류 발생

    이 문서가 도움이 되었습니까?

    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.