API ReferenceCompanies
Replace a company charter
Replace a company's charter (full PUT).
Requires a valid bearer token. Owner-scoped: only the company owner may update it (403 otherwise); a missing company or charter returns 404.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
company_id*Company Id
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Full replacement of a company's charter (PUT semantics).
Response Body
application/json
application/json
curl -X PUT "https://example.com/companies/string/charter" \ -H "Content-Type: application/json" \ -d '{ "constraints": [ "No PII in prompts" ], "mission": "Give every SMB an AI-native operations team.", "north_star_metric": "Weekly active governed processes", "target_market": "EU mid-market fintechs", "values": [ "Transparency", "Governance" ], "vision": "A world where running a company is a conversation." }'nullEmpty
Empty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}