Update high_school_major_list

PATCH /api/v1/high_school_major_lists/{id}

Path parameters

  • id string Required

    id

application/json

Body

  • Hide high_school_major attribute Show high_school_major attribute object
    • jurusan string

      Minimum length is 3, maximum length is 25.

PATCH /api/v1/high_school_major_lists/{id}
curl \
 -X PATCH http://127.0.0.1:3000//api/v1/high_school_major_lists/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"high_school_major":{"jurusan":"IPS"}}'
Request example
{
  "high_school_major": {
    "jurusan": "IPS"
  }
}