Delete a shift
delete_crew_offerDelete a crew offer (shift) from a gig. If it was OPEN, its recipients are emailed that it was withdrawn; payables for accepted recipients are voided. To drop just one person, use remove_crew_offer_recipient. Refused with 409 GIG_ROSTER_LOCKED on a completed and settled gig: reopen_event first. Confirmation-gated.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"offer_id": "<offer_id>"
},
"name": "delete_crew_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | crew offer id from list_crew_offers / get_crew_offer | |
| organization_id | No | organization to act in, an id from get_me; omit to use your active organization | |
| confirmation_token | No | leave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | when the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: absent (the API answers 204 with no body) } | |
| error | No | when ok is false |