operation post api v1 assignments cancel.md

Cancel an assignment

POST /api/v1/assignments/cancel

Cancels an existing assignment based on the provided job ID. If you attempt to cancel an assignment after it has started, the request will fail. If you need the option to cancel an assignment after its start date, please contact us.

Servers

Parameters

Body: application/json (object)

Responses

200

Assignment successfully cancelled

Body: application/json (object)

A positive integer representing the premium owed per $100 earned. The net_rate is stored in cents (e.g., 48 represents $0.48).

400

Invalid request or assignment cannot be cancelled

404

No assignment found for the associated job id.