Skip to content
中文

Amend a department charter (gone)

Code Mode: praxis.workforce.departments.updateCharter

HTTP: PUT /workforce/v1/departments/{id}/charter

Deprecated: use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. A department’s charter is now the document of its spec, not a field of the department: read it at GET /workforce/v1/specs/department/{id} and replace it with PUT /workforce/v1/specs/department/{id} sending metadata.revision and spec.document. The root department’s charter is the organization’s own spec at /workforce/v1/specs/organization/{organization_id}. Until then this path answers 410 with code DEPARTMENT_CHARTER_GONE and the same instruction.

Signature

praxis.workforce.departments.updateCharter(args:{path:{id:string}}):Promise<unknown>;

Parameters

NameInTypeRequiredDescription
idpathstringyesDepartment id (dept_…) whose charter used to change here.

Responses

StatusContent typesDescription
410application/problem+jsonDEPARTMENT_CHARTER_GONE; this route was removed in