> ## 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.

# Şifre Sıfırlama İşlemi

> Şifre Sıfırlama İsteği Sırasında Gönderilen 



## OpenAPI

````yaml /open-api/tr/auth-version-1.json post /v1/users/password-reset
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ı Servisi
    description: Kullanıcı ile İlgili İşlemleri Yönetir
  - name: Yetklilendirme Servisi
    description: Yetkilendirme İşlemlerini Yönetir
paths:
  /v1/users/password-reset:
    post:
      tags:
        - Kullanıcı Servisi
      summary: Şifre Sıfırlama İşlemi
      description: 'Şifre Sıfırlama İsteği Sırasında Gönderilen '
      operationId: resetPassword
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResetPasswordBody'
        required: true
      responses:
        '204':
          description: Başarılı Şifre Sıfırlama
        '301':
          description: Şifre Sıfırlama Başarılı, Verilen Linke Yönlendiriliyor
        '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:
    ResetPasswordBody:
      required:
        - newPassword
        - token
        - userId
      type: object
      properties:
        userId:
          type: string
          description: Şifre Sıfırlarken Verilmesi Gereken Kullanıcı Kimlik Belirteci
          example: 88a52d74-ebee-49a4-9631-cfe492f4bf53
        token:
          type: string
          description: >-
            Şifre Sıfırlama İsteği Cevabında Dönen veya Yönlendirilen Sayfaya
            Parametre Olarak Geçilen Belirteç
          example: 937bf90f-0f4b-46ff-b714-43513ba5eeec
        newPassword:
          type: string
          description: Yeni Şifre
          example: newStr0ng!P@ssw0rd
        loginPageLink:
          type: string
          description: >-
            Şifre Sıfırmala İşlemi Başarılı İse Yönlendirilecek Sayfa
            Bağlantısı. Zorunlu Değildir. Verilirse; Şifre Değiştirme İşleminin
            Sonucu Olarak Bağlantı İçine 'message' Parametresi Eklenir.
          example: https://ui.iklim.co/login
    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

````