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

# Reset Consumer's Password Flow

```json
{
  "text": "Admin API key or App key are required to initiate password reset flow.",
  "sidebar": true
}
```

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Consumers",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/consumers/reset_password": {
      "put": {
        "summary": "Reset Consumer's Password Flow",
        "tags": [
          "Consumers"
        ],
        "operationId": "updatePassword",
        "requestBody": {
          "description": "",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "ResetConsumerPasswordRequest",
                "type": "object",
                "required": [
                  "password",
                  "password_token"
                ],
                "properties": {
                  "password": {
                    "description": "Consumer's New password",
                    "type": "string"
                  },
                  "password_token": {
                    "description": "Password Token generated when hitting PUT consumers/forgot_password",
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The password has been updated succesfully"
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1consumers/get/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  }
}
```