hours.correction.withdraw
Take back a correction you reported (correctionId) before finance decides on it, so the entry can be paid as approved.
POST
/api/v1/contractor/hours.correction.withdrawPermissions
contractor:readcontractor:write
Who can call it
contractor
Retries
Idempotency key required
MCP
contractor_hours_correction_withdrawFields
correctionIdstring (ID)RequiredThe ID of the related record.
idempotencyKeystringRequiredAny unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match.
8–150 characters
Example
curl https://app.getoatmilk.com/api/v1/contractor/hours.correction.withdraw \
-H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
-H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"correctionId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10"
}'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
POST/api/v1/contractor/hours.correction.withdraw
curl https://app.getoatmilk.com/api/v1/contractor/hours.correction.withdraw \
-H "Authorization: Bearer $OATMILK_OAUTH_TOKEN" \
-H "X-Accounting-Organization: $OATMILK_ORGANIZATION_ID" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"correctionId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10"
}'More in Contractor portal.