User

내 정보 수정

회사와 직무만 수정한다.

patch/api/v1/users/me

Request

  • Base URL: https://api.chaeso-zip.com
  • URL: https://api.chaeso-zip.com/api/v1/users/me
  • Auth: HTTP bearer

Request body

companyNamestring required

회사명

occupation'DEVELOPMENT' | 'DESIGN' | 'MARKETING' | 'PLANNING' | 'SALES' | 'DATA' | 'MANAGEMENT' | 'ETC' required

직무

Example request

{
  "companyName": "채소집",
  "occupation": "DEVELOPMENT"
}

Response

수정 성공

successboolean required

요청 성공 여부

codestring nullable required

성공 안내 코드. 안내할 것이 없으면 null

Example response

{
  "success": true,
  "data": {
    "nickname": "채소러버",
    "email": "user@example.com",
    "companyName": "채소집"
  },
  "error": {
    "code": "C-001",
    "message": "입력값이 올바르지 않습니다.",
    "fieldErrors": [
      {
        "field": "name",
        "reason": "이름은 필수입니다."
      }
    ]
  },
  "code": "GOOGLE_ACCOUNT_LINKED"
}

Changes

No recorded changes to this operation across all 1 revision of this API.