On this page

    1. Home
    2. API
    3. API Reference
    4. Password Reset

    Password Reset

    This endpoint initiates the password reset process by sending a reset code to the user's primary authentication method (email or phone number).


    POST /auth/password-reset

    Initiate a password reset for a user authority.

    Request

    POST /auth/password-reset

    Headers:

    {
      "Host": "api.bringyour.com",
      "Content-Type": "application/json"
    }

    Body:

    {
      "user_auth": "string"
    }
    FieldTypeDescription
    user_authstringRequired. The email address or phone number of the user.

    Response

    200 Success

    Status: 200 OK

    Content-Type: application/json

    A successful request confirms that the reset attempt was initiated.

    {
      "user_auth": "string"
    }
    FieldTypeDescription
    user_authstringThe user authentication detail where the reset code was sent.

    Example

    HTTP Request

    POST /auth/password-reset HTTP/1.1
    Host: api.bringyour.com
    Content-Type: application/json
     
    {
      "user_auth": "support@ur.io"
    }

    Successful HTTP Response

    {
      "user_auth": "support@ur.io"
    }


    Powered by Sudoc v2.5.0
    Hide table of contents