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

# Update auto renew

> Developer endpoint. Send a KmerHosting API key as Authorization: Bearer <key>. Every resource is scoped to the API key owner and protected by explicit scopes and rate limits.

Use this services endpoint for the operation described in the summary. The server validates authorization, ownership, and input before accessing MySQL or external providers.



## OpenAPI

````yaml /openapi.json patch /api/v1/sdk/services/{type}/{serviceId}/auto-renew
openapi: 3.1.0
info:
  title: KmerHosting Public Platform API
  version: 5.0.0
  description: >-
    Stable KmerHosting Developer API for API-key integrations and the official
    KmerHosting SDK. Public catalog operations remain unauthenticated; customer
    resources require a scoped API key.
  contact:
    name: KmerHosting Support
    email: support@kmerhosting.com
servers:
  - url: https://kmerhosting.com
    description: Production public platform
security: []
tags:
  - name: Health
    description: Service discovery and availability checks.
  - name: Content
    description: Public localized content.
  - name: Catalog
    description: Localized pricing and offers.
  - name: Orders
    description: Order creation, lookup, and payment.
  - name: Invoices
    description: Issued invoice lookup and PDF documents.
  - name: Domains
    description: Domain operations.
  - name: Services
    description: Hosting service inventory, credentials, renewals, and auto-renew.
  - name: Notifications
    description: In-app notifications.
  - name: KmerHosting AI Agent
    description: KmerHosting AI Agent messages and owned conversations.
  - name: Pricing downloads
    description: Generated pricing documents.
paths:
  /api/v1/sdk/services/{type}/{serviceId}/auto-renew:
    patch:
      tags:
        - Services
      summary: Update auto renew
      description: >-
        Developer endpoint. Send a KmerHosting API key as Authorization: Bearer
        <key>. Every resource is scoped to the API key owner and protected by
        explicit scopes and rate limits.


        Use this services endpoint for the operation described in the summary.
        The server validates authorization, ownership, and input before
        accessing MySQL or external providers.
      operationId: patch_api_v1_sdk_services_type_serviceId_auto_renew
      parameters:
        - name: type
          in: path
          required: true
          description: type identifier.
          schema:
            type: string
        - name: serviceId
          in: path
          required: true
          description: service Id identifier.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              properties:
                enabled:
                  type: boolean
      responses:
        '200':
          description: Request completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenericSuccessResponse'
        '400':
          description: The request is malformed or contains invalid data.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - developerApiKey: []
components:
  schemas:
    GenericSuccessResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          additionalProperties: true
        message:
          type: string
      additionalProperties: true
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
        message:
          type: string
        code:
          type: string
        details:
          type: object
          additionalProperties: true
      additionalProperties: true
  securitySchemes:
    developerApiKey:
      type: http
      scheme: bearer
      bearerFormat: KmerHosting API Key
      description: >-
        Create an API key in Console > Account > API Keys. Use the full key only
        in trusted server-side environments.

````