Skip to main content

Reset Password

POST 

/auth/v1/reset

Reset the password of a user, requires email or phone and corresponding verification code.

Request

Query Parameters

    client_id string

    Client ID corresponding to the application, can be obtained from Cloud Development Platform -> Identity Authentication -> Development Settings. Defaults to environment ID, can be omitted

Header Parameters

    x-device-id string

    Device ID, the ID of the current logged-in device. The client should generate it randomly and cache it on the client. This parameter is related to the number of logged-in accounts.

Body

    email string

    Use email for verification

    phone_number string

    Use phone number for verification

    new_password string

    New Password

    verification_token string

    SMS or email verification code

Responses

A successful response.

Response Headers
    Schema
      any
    Loading...