cURL
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": 123, "updateable_id": 123, "updateable_type": "<string>", "message": "<string>", "status": { "human": "<string>", "value": "<string>" }, "created": { "human": "<string>", "string": "<string>" }, "updated": { "human": "<string>", "string": "<string>" } } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The schedule ID
The update ID
EditScheduleUpdateRequestData
The body is of type object.
object
Update
The response is of type object.