Profile 생성
    • PDF

    Profile 생성

    • PDF

    Article Summary

    개요

    새로운 Profile을 생성합니다.

    요청

    요청 URL

    POST
    https://edge.apigw.ntruss.com/api/v1/profile
    

    요청 바디

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

    응답

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

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

    예시

    요청 예시

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

    응답 예시

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

    오류 코드

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

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

    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.