PUT /review-reasons/{id}.json

PUT /review-reasons/{id}.json

Path parameters

  • id integer(int64) Required

    Numeric ID of the instance

    Minimum value is 1.

application/json

Body Required

  • createdAt string(date-time)

    Created at

  • id integer(int32)

    Id

  • name string Required

    Name

  • reviewType string | null Required

    Review type

    Values are approve or reject. Default value is approve.

  • updatedAt string(date-time)

    Updated at

PUT /review-reasons/{id}.json
curl \
 -X PUT http://api.example.com/v1/review-reasons/{id}.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"createdAt":"2024-05-04T09:42:00+00:00","id":42,"name":"string","reviewType":"approve","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "id": 42,
  "name": "string",
  "reviewType": "approve",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}