---
title: "Patch Company-specific details"
method: PATCH
path: "/v1/user/{user_id}/company/"
tags: ["Users"]
---

# Patch Company-specific details

`PATCH /v1/user/{user_id}/company/`

Update user information that is specific to the current company.

Only fields that are provided and are not null will be updated.

## Path parameters

- `user_id` integer, required

## Request body

- CompanyUserPatchModel — Company user setting model, used to update company specific settings for a user. Identical to CompanyUserPutModel but no defaults and everything can be None.
  - `isActive` boolean, nullable — Indicates that this user is active in the company.
  - `editTimer` boolean, nullable — Indicates if a user can edit timers that they have created.
  - `createTimer` boolean, nullable — Indicates if a user can create a time and log time.
  - `documentAccess` 'none' | 'read' | 'write' — Company user access type enumeration.
  - `feedAccess` 'none' | 'read' | 'write' — Company user access type enumeration.
  - `position` string, nullable — Optionally, specify the users position in the company.
  - `employeeId` string, nullable — Optionally, specify an external employee ID so that it can be correlated with an external system.

## Response `200`

Successful Response

- ApiGenericResponseCompanyUserDetailModel
  - `error` boolean — A boolean error indicator.
  - `message` string, nullable — Optional message.
  - `data` CompanyUserDetailModel
    - `id` integer, required — The company user record ID.
    - `role` RoleModel, required — Represents a user role.
      - `id` integer, nullable — The role identifier
      - `name` string — What role the user has
      - `slug` string, required — URL-friendly version of the role
    - `isActive` boolean, required — Indicates that this user is active in the company.
    - `employeeId` string, nullable, required — An external employee ID so that it can be correlated with an external system.
    - `position` string, nullable, required — Optionally, specify the users position in the company.
    - `editTimer` boolean, required — Indicates if a user can edit timers that they have created.
    - `createTimer` boolean, required — Indicates if a user can create a time and log time.
    - `documentAccess` 'none' | 'read' | 'write', required — Company user access type enumeration.
    - `feedAccess` 'none' | 'read' | 'write', required — Company user access type enumeration.
    - `userId` integer, required — The associated user's ID.
    - `companyId` integer, required — The associated company's ID.

## Other responses

- `400` — Business Logic Error
- `403` — Permission Error
- `409` — Integrity Error or Data Conflict
- `422` — Validation Error

---

[API](https://skmtc.dev/salussafety/apis/salus-developer-api.md) · [All operations](https://skmtc.dev/salussafety/apis/salus-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salussafety/salus-developer-api/revisions/ef065f44da25/schema)
