Skip to main content
PUT
Correct a strike
Beta. Melso does not serve this operation yet, and its fields can still change. See what is live.

Authorizations

Authorization
string
header
required

A company API key, mk_live_…, that the company's owner creates in the Melso app under Settings, Connect your AI, API keys. It works in that one company with the owner's authority. Test keys (mk_test_…) are not issued. Keep the key on your servers. See Authentication.

Path Parameters

company_id
string<uuid>
required

The company's ID. Every company-scoped call works in exactly this company.

strike_id
string<uuid>
required

Body

application/json
strike
object
required

Response

The strike.

kind
enum<string>
required
Available options:
total,
partial
start
string<date>
required
end
string<date> | null

Its last day. Omit it while the strike lasts.

worked
integer

A partial strike only: the part of the usual day worked, in thousandths. 500 is half the day.

Required range: 1 <= x <= 999
id
string<uuid>
employee_id
string<uuid>
employee_name
string