# Source: https://docs.meshconnect.com/api-reference/account-management/registered-clients/update-registered-client.md

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

# Update Registered client

> Update information about already Registered client by client id. This request does not support updating client Logo URL.
In order to update a Logo URL, send separate Update Registered Logo request along with id of the client.



## OpenAPI

````yaml https://admin-api.meshconnect.com/swagger/AdminAPI/swagger.json put /admin/api/v1/SubClient/{id}
openapi: 3.0.1
info:
  title: Admin API
  version: v1
servers:
  - url: https://admin-api.meshconnect.com
security:
  - Bearer: []
paths:
  /admin/api/v1/SubClient/{id}:
    put:
      tags:
        - Registered Clients
      summary: Update Registered client
      description: "Update information about already Registered client by client id. This request does not support updating client Logo URL.\r\nIn order to update a Logo URL, send separate Update Registered Logo request along with id of the client."
      parameters:
        - name: id
          in: path
          description: The identifier of the Registered client to update
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        description: Update Registered client request
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/B2B2BRegisteredClientInfo'
            example:
              businessLegalName: Client 1 Business Legal Name
              displayName: Client 1 Display Name
              callbackUrls:
                - https://your-website1.com
                - https://your-website2.com
      responses:
        '200':
          description: Registered client updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/B2B2BRegisteredClientDataApiResult'
              example:
                content:
                  id: db9037b0-908c-41fd-94aa-44702a7e790b
                  logoUrl: >-
                    https://file-cdn.meshconnect.com/public/clients/logo/oauth/registered/116a43e7-ddc9-4c61-b819-08ddd687d1d5f2fc96ed-cf41-454f-80c7-66520f5d047d.png
                  businessLegalName: Client 1 Business Legal Name
                  displayName: Client 1 Display Name
                  callbackUrls:
                    - https://your-website1.com
                    - https://your-website2.com
                status: ok
                message: ''
                errorHash: 51d01c67
                errorType: ''
        '401':
          description: 'Unauthorized: Auth token request is not valid'
          content:
            application/json:
              schema: {}
              example:
                statusCode: 401
        '403':
          description: 'Permission denied: Request is not allowed'
          content:
            application/json:
              schema: {}
              example:
                status: permissionDenied
                message: Error message
                displayMessage: Optional display message
                errorHash: cd59bd31
                errorType: missingField
components:
  schemas:
    B2B2BRegisteredClientInfo:
      required:
        - businessLegalName
        - displayName
      type: object
      properties:
        businessLegalName:
          maxLength: 300
          minLength: 0
          type: string
          description: Registered client Business Legal Name
        displayName:
          maxLength: 300
          minLength: 0
          type: string
          description: Registered client Display Name
        callbackUrls:
          type: array
          items:
            type: string
          description: >-
            Registered client Allowed Link URLs. If no Allowed Link URLs are
            specified, Allowed Link URLs from main client will be used.
          nullable: true
      additionalProperties: false
    B2B2BRegisteredClientDataApiResult:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/ApiResultStatus'
        message:
          type: string
          description: A message generated by the API
          nullable: true
        displayMessage:
          type: string
          description: User-friendly display message that can be presented to the end user
          nullable: true
        errorHash:
          type: string
          description: >-
            An error grouping hash from string components and caller
            information. Used by bugsnag on FE for correct error grouping
          nullable: true
          readOnly: true
        errorType:
          type: string
          description: "Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation.\r\nAll possible error types are available in the documentation."
          nullable: true
        errorData:
          nullable: true
          readOnly: true
        content:
          $ref: '#/components/schemas/B2B2BRegisteredClientData'
      additionalProperties: false
    ApiResultStatus:
      enum:
        - ok
        - serverFailure
        - permissionDenied
        - badRequest
        - notFound
        - conflict
        - tooManyRequest
        - locked
        - unavailableForLegalReasons
      type: string
    B2B2BRegisteredClientData:
      required:
        - businessLegalName
        - displayName
        - logoUrl
      type: object
      properties:
        businessLegalName:
          maxLength: 300
          minLength: 0
          type: string
          description: Registered client Business Legal Name
        displayName:
          maxLength: 300
          minLength: 0
          type: string
          description: Registered client Display Name
        callbackUrls:
          type: array
          items:
            type: string
          description: >-
            Registered client Allowed Link URLs. If no Allowed Link URLs are
            specified, Allowed Link URLs from main client will be used.
          nullable: true
        id:
          type: string
          description: Registered client Id
          format: uuid
        logoUrl:
          maxLength: 1024
          minLength: 1
          type: string
          description: Registered client Logo URL address
      additionalProperties: false
  securitySchemes:
    Bearer:
      type: http
      description: >-
        Authorization header using the Bearer scheme. Example: "Authorization:
        Bearer {Value}"
      scheme: bearer

````