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

# Hesap Güncelle

> Hesap bilgilerini (e-posta, telefon veya diğer alanlar) günceller.



## OpenAPI

````yaml /open-api/tr/accounts-version-1.json patch /v1/accounts/update
openapi: 3.0.1
info:
  title: OpenAPI definition
  version: v0
servers:
  - url: https://api.iklim.co
    description: Production server
  - url: https://api-test.iklim.co
    description: Test server
  - url: http://localhost:8080
    description: Local development environment with api gateway
security: []
tags:
  - name: Kullanıcı Hesapları Servisi
    description: Hesaplarla İlgili Servisleri Yönetir
paths:
  /v1/accounts/update:
    patch:
      tags:
        - Kullanıcı Hesapları Servisi
      summary: Hesap Güncelle
      description: Hesap bilgilerini (e-posta, telefon veya diğer alanlar) günceller.
      operationId: update
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccountRequest'
        required: true
      responses:
        '200':
          description: Hesap başarıyla güncellendi
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountResponse'
        '400':
          description: >-
            İstek Sırasında Gerekli Başlıklar Bulunamadı veya İstek Gövdesi
            Hatalı
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
              examples:
                Bad Request Example:
                  summary: Example response
                  description: Bad Request Example
                  value:
                    timestamp: '2025-04-14T16:26:54.203118461'
                    status: 400
                    error: Bad Request
                    message: Missing X-Idempotency-Key header
                    path: /endpoint/uri/here
        '401':
          description: Yetkisiz veya Hatalı İmza ile İstek
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
              examples:
                Unauthorized Example 1:
                  summary: Example response 1
                  description: Unauthorized Example 1
                  value:
                    timestamp: '2025-04-14T16:57:50.083970026'
                    status: 401
                    error: Unauthorized
                    message: Bad Credentials
                    path: /endpoint/uri/here
                Unauthorized Example 2:
                  summary: Example response 2
                  description: Unauthorized Example 2
                  value:
                    timestamp: '2025-04-14T16:57:50.083970026'
                    status: 401
                    error: Unauthorized
                    message: Invalid request signature
                    path: /auth/login
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
        '409':
          description: Mükerrer İstek Yapıldı
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
              examples:
                Conflict Example 1:
                  summary: Example response 1
                  description: Conflict Example 1
                  value:
                    timestamp: '2025-04-14T16:57:21.168927321'
                    status: 409
                    error: Conflict
                    message: Replay attack detected (nonce reused)
                    path: /endpoint/uri/here
                Conflict Example 2:
                  summary: Example response 2
                  description: Conflict Example 2
                  value:
                    timestamp: '2025-04-14T16:56:28.671809875'
                    status: 409
                    error: Conflict
                    message: Duplicate request detected (X-Idempotency-Key)
                    path: /endpoint/uri/here
        '500':
          description: İstek Sırasında Dahili Sunucu Hatası
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorResponse'
              examples:
                Internal Server Error Example:
                  summary: Example response
                  description: Internal Server Error Example
                  value:
                    timestamp: '2025-04-14T16:58:10.414972912'
                    status: 500
                    error: Internal Server Error
                    message: An Error Occurred During Login
                    path: /endpoint/uri/here
components:
  schemas:
    UpdateAccountRequest:
      required:
        - accountId
      type: object
      properties:
        accountId:
          type: string
          description: Güncellenecek Hesap Kimlik Belirteci
          format: uuid
          example: 296ff917-9b4b-4dc1-987d-2c17bdac7133
        type:
          type: string
          description: Güncellenecek Hesap Türü
          example: ORGANIZATION/INDIVIDUAL
          enum:
            - INDIVIDUAL
            - ORGANIZATION
        mobilePhoneNumber:
          type: string
          description: Güncellenecek Hesabın Mobil Telefon Numarası
          example: '905321112233'
        location:
          type: string
          description: Güncellenecek Hesabın Adresi
          example: >-
            Cyberpark, Cyberplaza, A Blok, Kat 2, 06800, Bilkent, Ankara,
            Türkiye
        company:
          type: string
          description: Güncellenecek Hesabın Şirket Adı
          example: TARLAIO İKLİM VE TARIM TEKNOLOJİLERİ A.Ş.
        industry:
          type: string
          description: Güncellenecek Hesabın Endüstri/Sektör Bilgisi
          example: Yazılım Geliştirme, SaaS
        profilePictureUrl:
          type: string
          description: Güncellenecek Hesabın Profil Resmi Bağlantısı
          example: https://*******.png
    AccountResponse:
      type: object
      properties:
        id:
          type: string
          description: Hesap Kimlik Belirteci
          format: uuid
        userId:
          type: string
          description: Kullanıcı Kimlik Belirteci
          format: uuid
        type:
          type: string
          description: Hesap Türü
          enum:
            - INDIVIDUAL
            - ORGANIZATION
        createdAt:
          type: string
          description: Hesap Oluşturulma Tarihi
          format: date-time
        updatedAt:
          type: string
          description: Hesap Güncellenme Tarihi
          format: date-time
        mobilePhoneNumber:
          type: string
          description: Hesabın Mobil Telefon Numarası
        location:
          type: string
          description: Hesabın Adresi
        company:
          type: string
          description: Hesabın Şirket Adı
        industry:
          type: string
          description: Hesabın Endüstri/Sektör Bilgisi
        profilePictureUrl:
          type: string
          description: Hesabın Profil Resmi Bağlantısı
        subscriptionPlan:
          type: string
          description: Hesabın Abonelik Planı
          enum:
            - NONE
            - TRIAL
            - BASIC_MONTHLY
            - BASIC_YEARLY
            - PREMIUM_MONTHLY
            - PREMIUM_YEARLY
            - CUSTOM
        emailVerified:
          type: boolean
          description: E-posta Doğrulandı Mı?
        mobilePhoneNumberVerified:
          type: boolean
          description: Mobil Telefon Numarası Doğrulandı Mı?
    StandardErrorResponse:
      required:
        - error
        - message
        - path
        - status
        - timestamp
      type: object
      properties:
        timestamp:
          type: string
          description: Hata Zaman Damgası
          format: date-time
        status:
          type: integer
          description: Hata Durum Kodu
          format: int32
        error:
          type: string
          description: Hata Adı
          example: Error Name
        message:
          type: string
          description: Hata Açıklaması
          example: Error Message
        path:
          type: string
          description: Hata Veren Endpoint URI
          example: /endpoint/uri/here

````