# Update a sub-account

Updates details of a specific sub-account associated with the authenticated Partner account.

This endpoint is only available to Signable Partners.

Endpoint: PUT /companies/{company_id}
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `company_id` (string, required)
    Unique identifier of the sub-account to update.
    Example: "214821"

## Request fields (application/json):

  - `company_name` (string)
    New name of the sub-account.
    Example: "Apple Tree Ltd"

  - `company_email` (string)
    New email address of the sub-account.
    Example: "abby@appletree.com"

## Response 200 fields (application/json):

  - `http` (integer, required)
    HTTP status code indicating the result of the request.
    Example: 200

  - `message` (string, required)
    Confirmation message indicating the update was successful.
    Example: "Apple Tree Ltd has been updated."

  - `href` (string, required)
    URL to the updated sub-account resource.
    Example: "https://api.signable.co.uk/v1/company/214821"

  - `company_id` (integer, required)
    Unique identifier of the updated sub-account.
    Example: 214821

  - `company_name` (string, required)
    Updated name of the sub-account.
    Example: "Apple Tree Ltd"

  - `company_email` (string, required)
    Updated email address of the sub-account.
    Example: "abby@appletree.com"

  - `company_updated` (string, required)
    Timestamp of when the sub-account was last updated.
    Example: "2025-07-21T08:30:27+0000"


