Detach the phone from the caller's account.

Refuses when the caller has NEITHER email+password NOR WeChat bound — phone is their only login factor and unbinding would lock them out. The SPA must already gate the "unbind" button on the same condition so this is a server-side defense in depth.

post/api/user/profile/unbind-phone

Request

  • Base URL: https://api.omicos.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.omicos.cn/api/user/profile/unbind-phone
  • Auth: none declared

Headers

authorizationstring nullable
x-omicos-devicestring nullable
x-omicos-device-kindstring nullable
x-omicos-device-namestring nullable

Response

Successful Response

object required

Changes

    • info

      added the new optional header request parameter x-omicos-device

    • info

      added the new optional header request parameter x-omicos-device-kind

    • info

      added the new optional header request parameter x-omicos-device-name