Update source

PUT /api/v1/sources/{id}

Path parameters

  • id string Required

    id

application/json

Body

  • source object
    Hide source attributes Show source attributes object
PUT /api/v1/sources/{id}
curl \
 -X PUT http://127.0.0.1:3000//api/v1/sources/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"source":{"sumber_informasi":"Kompas","motivasi":"Keluarga","jumlah_n":10}}'
Request example
{
  "source": {
    "sumber_informasi": "Kompas",
    "motivasi": "Keluarga",
    "jumlah_n": 10
  }
}