---
updatedAt: 2026-06-08T03:35:06.000Z
agentTools:
  projectIndex: https://developer.moloco.cloud/llms.txt
---

# Reset the user password

reset the user password.
The bearer token should be the password reset token which is achieved from `password reset email`.
Once this API succeeds, the user’s signed_up status becomes true.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Moloco Ads Campaign Management API",
    "description": "Moloco Ads Campaign Management API provides functionalities for Moloco Ads Campaigns.",
    "version": "1.10",
    "contact": {
      "name": "Moloco Inc.",
      "url": "https://www.moloco.com"
    }
  },
  "paths": {
    "/cm/v1/auth/users/reset-password": {
      "post": {
        "summary": "Reset the user password",
        "description": "reset the user password.\nThe bearer token should be the password reset token which is achieved from `password reset email`.\nOnce this API succeeds, the user’s signed_up status becomes true.",
        "operationId": "DspApi_ResetPassword",
        "responses": {
          "200": {
            "description": "A successful response.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/messagesResetPasswordResponse"
                }
              }
            }
          },
          "default": {
            "description": "Error. Detailed cause can be found in the `details` field.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/messagesResetPasswordError"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/messagesResetPasswordRequest"
              }
            }
          },
          "required": true
        },
        "tags": [
          "User"
        ]
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "servers": [
    {
      "url": "https://api.moloco.cloud"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "messagesResetPasswordError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "message": {
            "type": "string"
          },
          "details": {
            "type": "array",
            "items": {
              "type": "object",
              "$ref": "#/components/schemas/messagesResetPasswordErrorAPIErrorInfo"
            }
          }
        }
      },
      "messagesResetPasswordErrorAPIErrorInfo": {
        "type": "object",
        "properties": {
          "reason": {
            "$ref": "#/components/schemas/messagesResetPasswordErrorAPIErrorInfoErrorReason"
          },
          "error_log_id": {
            "type": "string"
          },
          "context": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "messagesResetPasswordErrorAPIErrorInfoErrorReason": {
        "type": "string",
        "enum": [
          "ERROR_REASON_UNKNOWN",
          "USER_INVALID_PASSWORD",
          "USER_ALREADY_SET_PASSWORD_USING_TOKEN",
          "USER_CANNOT_USE_PREVIOUS_PASSWORD"
        ],
        "default": "ERROR_REASON_UNKNOWN",
        "description": " - USER_INVALID_PASSWORD: User password is invalid.\nPassword must be at least 12 characters and contain at least one number, uppercase letter, lowercase letter and special character.\n - USER_ALREADY_SET_PASSWORD_USING_TOKEN: The user has already set their password using token.\n - USER_CANNOT_USE_PREVIOUS_PASSWORD: Users cannot reuse previous password."
      },
      "messagesResetPasswordRequest": {
        "type": "object",
        "properties": {
          "password": {
            "type": "string",
            "description": "The password that user want to change.\nPassword must be at least 12 characters and contain at least one number, uppercase letter, lowercase letter and special character."
          },
          "email": {
            "type": "string",
            "description": "The user email."
          }
        },
        "required": [
          "password",
          "email"
        ]
      },
      "messagesResetPasswordResponse": {
        "type": "object"
      }
    }
  }
}
```