Remove someone from a shift
remove_crew_offer_recipientTake one person off an OPEN or FILLED crew offer — the whole shift, or only some days (days as YYYY-MM-DD; they keep the rest). Who is told: the person is emailed that they were taken off the shift, or that their days changed when they keep some. Owner/admin only. Refused with 409 GIG_ROSTER_LOCKED on a completed and settled gig (status SETTLED): 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>",
"user_id": "<user_id>"
},
"name": "remove_crew_offer_recipient"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | only these YYYY-MM-DD days; omit to remove them from the whole shift | |
| notes | No | reason, kept on the record | |
| user_id | Yes | user_id of the recipient to remove, from the shift recipients get_crew_offer returns | |
| offer_id | Yes | the shift (crew offer) id, from list_crew_offers | |
| 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: { recipient_drafts [{ user_id, fee, username, email, shift_overlaps }], calllist_id, created_by_id, currency, date, days [{ accepted_count, capacity, date, effective_end_time, effective_fee, effective_start_time, end_time, fee, and 4 more fields }], description, end_time, event_id, event_status, event_title, event_type, event_timezone, expires_at, fee, fee_type, id, kind, and 11 more fields } or { offer { recipient_drafts, calllist_id, created_by_id, currency, date, days, description, end_time, and 21 more fields }, results [{ date, outcome }] } } | |
| error | No | when ok is false |