API ReferenceCompanies
Fire an agent
Fire an agent — set status to terminated and create a performance review.
Requires a valid bearer token. Owner-scoped: only the company owner may fire (403 otherwise); a missing company or role (or a role in another company) returns 404.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
company_id*Company Id
role_id*Role Id
Response Body
application/json
application/json
curl -X POST "https://example.com/companies/string/roles/string/fire"nullEmpty
Empty
Empty
{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}