PUT
/
schedules
/
{schedule}
/
updates
/
{update}
curl --request PUT \
  --url http://localhost/api/schedules/{schedule}/updates/{update} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "message": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "type": "updates",
    "attributes": {
      "id": "<string>",
      "updateable_id": "<string>",
      "updateable_type": "<string>",
      "message": "<string>",
      "status": {
        "human": "<string>",
        "value": "<string>"
      },
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

schedule
integer
required

The schedule ID

update
integer
required

The update ID

Body

application/json
`EditScheduleUpdateRequestData`
message
string | null

Response

200
application/json
`Update`
data
object
required