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

# Put resellerbranding



## OpenAPI

````yaml /api/openapi.json put /reseller/branding
openapi: 3.1.2
info:
  title: API KENN HOSTING
  version: 1.0.0
  description: >-
    API REST de KENN HOSTING : gérez vos VPS, hébergements, domaines,
    applications, commandes et tickets. Authentification par clé API (en-tête
    `Authorization: Bearer kh_live_...`). Les opérations qui débitent votre
    solde exigent un en-tête `Idempotency-Key`.
servers:
  - url: https://kennhosting.com/api/v1
    description: Production
security:
  - cleApi: []
paths:
  /reseller/branding:
    put:
      tags:
        - Reseller
      operationId: v1.reseller.branding.update
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                brand_name:
                  type: string
                  maxLength: 128
                logo_url:
                  type:
                    - string
                    - 'null'
                  format: uri
                  maxLength: 500
                logo_email_url:
                  type:
                    - string
                    - 'null'
                  format: uri
                  maxLength: 500
                email_from_name:
                  type:
                    - string
                    - 'null'
                  maxLength: 128
                email_from_address:
                  type:
                    - string
                    - 'null'
                  format: email
                  maxLength: 191
                support_email:
                  type:
                    - string
                    - 'null'
                  format: email
                  maxLength: 191
                support_phone:
                  type:
                    - string
                    - 'null'
                  maxLength: 30
                contact_address:
                  type:
                    - string
                    - 'null'
                  maxLength: 500
                website_url:
                  type:
                    - string
                    - 'null'
                  format: uri
                  maxLength: 500
                brand_color:
                  type:
                    - string
                    - 'null'
                  pattern: ^#[0-9A-Fa-f]{6}$
                email_footer_text:
                  type:
                    - string
                    - 'null'
                  maxLength: 1000
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      brand_name:
                        type: string
                      logo_url:
                        type:
                          - string
                          - 'null'
                      logo_email_url:
                        type:
                          - string
                          - 'null'
                      email_from_name:
                        type:
                          - string
                          - 'null'
                      email_from_address:
                        type:
                          - string
                          - 'null'
                      support_email:
                        type:
                          - string
                          - 'null'
                      support_phone:
                        type:
                          - string
                          - 'null'
                      contact_address:
                        type:
                          - string
                          - 'null'
                      website_url:
                        type:
                          - string
                          - 'null'
                      brand_color:
                        type: string
                      email_footer_text:
                        type:
                          - string
                          - 'null'
                    required:
                      - brand_name
                      - logo_url
                      - logo_email_url
                      - email_from_name
                      - email_from_address
                      - support_email
                      - support_phone
                      - contact_address
                      - website_url
                      - brand_color
                      - email_footer_text
                  meta:
                    type: string
                required:
                  - success
                  - data
                  - meta
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '422':
          $ref: '#/components/responses/ValidationException'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error overview.
                required:
                  - message
components:
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    cleApi:
      type: http
      description: Clé API créée dans votre espace client (kh_live_... ou kh_test_...).
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.