Skip to main content

Binds a security phone number to a user

POST/v2/users/:id_or_email/bindSecurityPhone

Binds a security phone number to the specified user for login verification and account security operations.

Request​

Path parameters

    id_or_email stringrequired
    • id:
    • email:

Body parameters

    phone string
    notify boolean

    Whether to notify the user (by email).

Response

No response fieldsA successful response contains no documented fields.

Errors

400Bad Request
401

Access is unauthorized. Please check whether the correct authorization token is passed.

403

No API access permission. Please complete the relevant authorization on the application management page of the domain administrator.

404Not Found