> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update an enterprise

> Update enterprise information. All fields are optional — only the provided fields will be updated.



## OpenAPI

````yaml https://telnyx-openapi-ng.s3.us-east-1.amazonaws.com/number-reputation/enterprises.yml put /enterprises/{enterprise_id}
openapi: 3.1.0
info:
  title: Telnyx Number Reputation Enterprises API
  version: 2.0.0
  description: >-
    Manage enterprises for Number Reputation. An enterprise represents your
    business entity and is the top-level resource for reputation monitoring.
    Register your organization once, then enable Number Reputation to start
    monitoring your phone numbers' spam reputation.
  contact:
    email: support@telnyx.com
servers:
  - url: https://api.telnyx.com/v2
security:
  - bearerAuth: []
paths:
  /enterprises/{enterprise_id}:
    put:
      tags:
        - Enterprises
      summary: Update an enterprise
      description: >-
        Update enterprise information. All fields are optional — only the
        provided fields will be updated.
      operationId: UpdateEnterprise
      parameters:
        - $ref: '#/components/parameters/EnterpriseId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnterpriseUpdate'
      responses:
        '200':
          description: Enterprise updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnterprisePublicWrapped'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Telnyx from 'telnyx';


            const client = new Telnyx({
              apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
            });


            const enterprise = await
            client.enterprises.update('6a09cdc3-8948-47f0-aa62-74ac943d6c58');


            console.log(enterprise.data);
        - lang: Python
          source: |-
            import os
            from telnyx import Telnyx

            client = Telnyx(
                api_key=os.environ.get("TELNYX_API_KEY"),  # This is the default and can be omitted
            )
            enterprise = client.enterprises.update(
                enterprise_id="6a09cdc3-8948-47f0-aa62-74ac943d6c58",
            )
            print(enterprise.data)
        - lang: Go
          source: "package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\n\t\"github.com/team-telnyx/telnyx-go\"\n\t\"github.com/team-telnyx/telnyx-go/option\"\n)\n\nfunc main() {\n\tclient := telnyx.NewClient(\n\t\toption.WithAPIKey(\"My API Key\"),\n\t)\n\tenterprise, err := client.Enterprises.Update(\n\t\tcontext.TODO(),\n\t\t\"6a09cdc3-8948-47f0-aa62-74ac943d6c58\",\n\t\ttelnyx.EnterpriseUpdateParams{},\n\t)\n\tif err != nil {\n\t\tpanic(err.Error())\n\t}\n\tfmt.Printf(\"%+v\\n\", enterprise.Data)\n}\n"
        - lang: Java
          source: |-
            package com.telnyx.sdk.example;

            import com.telnyx.sdk.client.TelnyxClient;
            import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
            import com.telnyx.sdk.models.enterprises.EnterpriseUpdateParams;
            import com.telnyx.sdk.models.enterprises.EnterpriseUpdateResponse;

            public final class Main {
                private Main() {}

                public static void main(String[] args) {
                    TelnyxClient client = TelnyxOkHttpClient.fromEnv();

                    EnterpriseUpdateResponse enterprise = client.enterprises().update("6a09cdc3-8948-47f0-aa62-74ac943d6c58");
                }
            }
        - lang: Ruby
          source: >-
            require "telnyx"


            telnyx = Telnyx::Client.new(api_key: "My API Key")


            enterprise =
            telnyx.enterprises.update("6a09cdc3-8948-47f0-aa62-74ac943d6c58")


            puts(enterprise)
        - lang: PHP
          source: >-
            <?php


            require_once dirname(__DIR__) . '/vendor/autoload.php';


            use Telnyx\Client;

            use Telnyx\Core\Exceptions\APIException;


            $client = new Client(apiKey: getenv('TELNYX_API_KEY') ?: 'My API
            Key');


            try {
              $enterprise = $client->enterprises->update(
                '6a09cdc3-8948-47f0-aa62-74ac943d6c58',
                billingAddress: [
                  'administrativeArea' => 'Illinois',
                  'city' => 'Chicago',
                  'country' => 'United States',
                  'postalCode' => '60601',
                  'streetAddress' => '123 Main St',
                  'extendedAddress' => 'Suite 400',
                ],
                billingContact: [
                  'email' => 'billing@acme.com',
                  'firstName' => 'John',
                  'lastName' => 'Doe',
                  'phoneNumber' => '15551234568',
                ],
                corporateRegistrationNumber: 'corporate_registration_number',
                customerReference: 'customer_reference',
                doingBusinessAs: 'doing_business_as',
                dunBradstreetNumber: 'dun_bradstreet_number',
                fein: 'fein',
                industry: 'industry',
                legalName: 'xxx',
                numberOfEmployees: '1-10',
                organizationContact: [
                  'email' => 'jane.smith@acme.com',
                  'firstName' => 'Jane',
                  'jobTitle' => 'VP of Engineering',
                  'lastName' => 'Smith',
                  'phone' => '+16035551234',
                ],
                organizationLegalType: 'corporation',
                organizationPhysicalAddress: [
                  'administrativeArea' => 'Illinois',
                  'city' => 'Chicago',
                  'country' => 'United States',
                  'postalCode' => '60601',
                  'streetAddress' => '123 Main St',
                  'extendedAddress' => 'Suite 400',
                ],
                primaryBusinessDomainSicCode: 'primary_business_domain_sic_code',
                professionalLicenseNumber: 'professional_license_number',
                website: 'website',
              );

              var_dump($enterprise);
            } catch (APIException $e) {
              echo $e->getMessage();
            }
        - lang: CLI
          source: |-
            telnyx enterprises update \
              --api-key 'My API Key' \
              --enterprise-id 6a09cdc3-8948-47f0-aa62-74ac943d6c58
components:
  parameters:
    EnterpriseId:
      name: enterprise_id
      in: path
      required: true
      description: Unique identifier of the enterprise (UUID)
      schema:
        type: string
        format: uuid
        example: 6a09cdc3-8948-47f0-aa62-74ac943d6c58
  schemas:
    EnterpriseUpdate:
      type: object
      description: All fields are optional. Only provided fields will be updated.
      properties:
        legal_name:
          type: string
          minLength: 3
          maxLength: 64
          description: Legal name of the enterprise
        doing_business_as:
          type: string
          maxLength: 255
          description: DBA name
        customer_reference:
          type: string
          maxLength: 255
          description: Customer reference identifier
        website:
          type: string
          maxLength: 255
          description: Company website URL
        fein:
          type: string
          maxLength: 20
          description: >-
            Federal Employer Identification Number. Format: XX-XXXXXXX or
            XXXXXXXXX
        industry:
          type: string
          description: Industry classification
        number_of_employees:
          type: string
          enum:
            - 1-10
            - 11-50
            - 51-200
            - 201-500
            - 501-2000
            - 2001-10000
            - 10001+
          description: Employee count range
        organization_legal_type:
          type: string
          enum:
            - corporation
            - llc
            - partnership
            - nonprofit
            - other
          description: Legal structure type
        primary_business_domain_sic_code:
          type: string
          maxLength: 10
          description: SIC Code
        corporate_registration_number:
          type: string
          maxLength: 100
          description: Corporate registration number
        professional_license_number:
          type: string
          maxLength: 100
          description: Professional license number
        dun_bradstreet_number:
          type: string
          maxLength: 20
          description: D-U-N-S Number
        organization_contact:
          $ref: '#/components/schemas/OrganizationContact'
        billing_contact:
          $ref: '#/components/schemas/BillingContact'
        organization_physical_address:
          $ref: '#/components/schemas/PhysicalAddress'
        billing_address:
          $ref: '#/components/schemas/BillingAddress'
    EnterprisePublicWrapped:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/EnterprisePublic'
    OrganizationContact:
      type: object
      required:
        - first_name
        - last_name
        - email
        - job_title
        - phone
      properties:
        first_name:
          type: string
          maxLength: 255
          description: Contact's first name
          example: Jane
        last_name:
          type: string
          maxLength: 255
          description: Contact's last name
          example: Smith
        email:
          type: string
          format: email
          maxLength: 255
          description: Contact's email address
          example: jane.smith@acme.com
        job_title:
          type: string
          maxLength: 255
          description: Contact's job title (required)
          example: VP of Engineering
        phone:
          type: string
          maxLength: 20
          description: Contact's phone number in E.164 format
          example: '+16035551234'
      description: >-
        Organization contact information. Note: the response returns this object
        with the phone field as 'phone' (not 'phone_number').
    BillingContact:
      type: object
      required:
        - first_name
        - last_name
        - email
        - phone_number
      properties:
        first_name:
          type: string
          maxLength: 255
          description: Contact's first name
          example: John
        last_name:
          type: string
          maxLength: 255
          description: Contact's last name
          example: Doe
        email:
          type: string
          format: email
          maxLength: 255
          description: Contact's email address
          example: billing@acme.com
        phone_number:
          type: string
          maxLength: 20
          description: Contact's phone number (10-15 digits)
          example: '15551234568'
    PhysicalAddress:
      type: object
      required:
        - country
        - administrative_area
        - city
        - postal_code
        - street_address
      properties:
        country:
          type: string
          maxLength: 100
          description: Country name (e.g., United States)
          example: United States
        administrative_area:
          type: string
          maxLength: 100
          description: State or province
          example: Illinois
        city:
          type: string
          maxLength: 100
          description: City name
          example: Chicago
        postal_code:
          type: string
          maxLength: 20
          description: ZIP or postal code
          example: '60601'
        street_address:
          type: string
          maxLength: 255
          description: Street address
          example: 123 Main St
        extended_address:
          type: string
          nullable: true
          maxLength: 255
          description: Additional address line (suite, apt, etc.)
          example: Suite 400
    BillingAddress:
      type: object
      required:
        - country
        - administrative_area
        - city
        - postal_code
        - street_address
      properties:
        country:
          type: string
          maxLength: 100
          description: Country name (e.g., United States)
          example: United States
        administrative_area:
          type: string
          maxLength: 100
          description: State or province
          example: Illinois
        city:
          type: string
          maxLength: 100
          description: City name
          example: Chicago
        postal_code:
          type: string
          maxLength: 20
          description: ZIP or postal code
          example: '60601'
        street_address:
          type: string
          maxLength: 255
          description: Street address
          example: 123 Main St
        extended_address:
          type: string
          nullable: true
          maxLength: 255
          description: Additional address line (suite, apt, etc.)
          example: Suite 400
    EnterprisePublic:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier of the enterprise
          example: 6a09cdc3-8948-47f0-aa62-74ac943d6c58
        legal_name:
          type: string
          description: Legal name of the enterprise
          example: Acme Corp Inc.
        doing_business_as:
          type: string
          description: DBA name
          example: Acme
        organization_type:
          type: string
          enum:
            - commercial
            - government
            - non_profit
          description: Type of organization
        country_code:
          type: string
          description: ISO 3166-1 alpha-2 country code
          example: US
        role_type:
          type: string
          enum:
            - enterprise
            - bpo
          description: Role type in Branded Calling / Number Reputation services
        customer_reference:
          type: string
          nullable: true
          description: Customer reference identifier
        website:
          type: string
          nullable: true
          description: Company website URL
        fein:
          type: string
          nullable: true
          description: Federal Employer Identification Number
        industry:
          type: string
          nullable: true
          description: Industry classification
        number_of_employees:
          type: string
          nullable: true
          enum:
            - 1-10
            - 11-50
            - 51-200
            - 201-500
            - 501-2000
            - 2001-10000
            - 10001+
          description: Employee count range
        organization_legal_type:
          type: string
          nullable: true
          enum:
            - corporation
            - llc
            - partnership
            - nonprofit
            - other
          description: Legal structure type
        primary_business_domain_sic_code:
          type: string
          nullable: true
          description: SIC Code
        corporate_registration_number:
          type: string
          nullable: true
          description: Corporate registration number
        professional_license_number:
          type: string
          nullable: true
          description: Professional license number
        dun_bradstreet_number:
          type: string
          nullable: true
          description: D-U-N-S Number
        organization_contact:
          $ref: '#/components/schemas/OrganizationContact'
        billing_contact:
          $ref: '#/components/schemas/BillingContact'
        organization_physical_address:
          $ref: '#/components/schemas/PhysicalAddress'
        billing_address:
          $ref: '#/components/schemas/BillingAddress'
        created_at:
          type: string
          format: date-time
          description: When the enterprise was created
        updated_at:
          type: string
          format: date-time
          description: When the enterprise was last updated
    branded-calling_ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/TelnyxError'
    TelnyxError:
      type: object
      properties:
        code:
          type: string
          description: Telnyx error code
          example: '10015'
        title:
          type: string
          description: Short error title
          example: Bad Request
        detail:
          type: string
          description: Human-readable error detail
          example: User has already agreed to Terms of Service version v1.0.0
        meta:
          type: object
          properties:
            url:
              type: string
              format: uri
              description: Link to error documentation
        source:
          type: object
          description: Reference to the field that caused the error
          properties:
            pointer:
              type: string
              description: JSON pointer (RFC6901) to the field that caused the error
              example: /body/organization_type
      required:
        - code
        - title
  responses:
    BadRequest:
      description: Bad request — invalid input or validation error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/branded-calling_ErrorResponse'
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/branded-calling_ErrorResponse'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/branded-calling_ErrorResponse'
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````