# Update Company Details In Portfolio

Updates the company details in a specified portfolio.

Endpoint: PATCH /monitoring/portfolios/{portfolioId}/companies/{companyId}
Version: 1.0.0
Security: bearerToken

## Path parameters:

  - `portfolioId` (number, required)
    The unique identifier of the portfolio, obtained from /portfolios.

  - `companyId` (string, required)
    A company Safe Number or Connect ID.

## Request fields (application/json):

  - `personalReference` (string, required)
    Field that can be used to add a personal reference against the company in a portfolio.

  - `freeText` (string, required)
    Field that can be used to add a free text note to when adding/updating a company to a portfolio.

  - `personalLimit` (string, required)
    Field that can be used to add a personal limit number against the company in a portfolio. This needs to be a positive number but in string format.

## Response 200 fields (application/json):

  - `correlationId` (string)
    A unique ID assigned to this request.
    Example: "23921650-c073-11ea-860f-06bc8182190e"

  - `message` (string)
    A message stating successful update.
    Example: "Company updated successfully"

## Response 400 fields (application/json):

  - `correlationId` (string)
    A unique ID assigned to this request.

  - `message` (string)

  - `details` (string)
    Provides further information on why the request was rejected

## Response 401 fields (application/json):

  - `error` (string)

## Response 403 fields (application/json):

  - `message` (string)
    Example: "Access forbidden"

## Response 404 fields (application/json):

  - `correlationId` (string)
    A unique ID assigned to this request.

  - `message` (string)

  - `details` (string)
    Provides further information on why the request was rejected


## Response 204 fields
