Skip to main content
POST
/
contracts
/
{id}
/
schedules
/
{schedule_id}
/
update-status
Update Contract Schedule Status
curl --request POST \
  --url https://v1.api.flux-os.com/contracts/{id}/schedules/{schedule_id}/update-status \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>' \
  --data '{
  "status": 123
}'
{
  "error": "Unauthorized."
}

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Path Parameters

id
integer
required

The contract ID.

Body

application/json
status
integer
required

Response

Contract schedule updated.