contractors

Suspend Contractor

Changed on

Suspend a contractor (discipline): no shifts, held blocks cancelled, points wiped (ruling 2026-11-24-a-suspension-wipes-your-points; CON-29 History 2026-11-24).

⛔GATED hr:contractors:write AND a manager or supervisor of this person (_discipline_gate). The recording manager is the one who took the act; the write is contractors.suspension.suspend, the same door the repair uses, so the rule lives in one place. Strikes are NOT cleared (owner, 2026-11-24: "Strikes stay"). Answers 409 with the plain reason when the person cannot be suspended now (already suspended, terminated, or the end is before the start).

post/api/contractors/{contractor_id}/suspensions

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

contractor_id, string uuid required

Request body

SuspendBody required

A disciplinary suspension, for any length (Frederick, 2026-11-24: "a day, might be 2 weeks").

from_day is the first suspended day; until_day is the LAST suspended day, inclusive, or null for an open suspension that ends only when a manager ends it early (/suspensions/end).

reason, string required
from_day, string date required
until_day, string date nullable

Response

Successful Response

object required

Changes