Users
🔒 #26729 Отвязка телефона или email своей учётной записи. Последний способ входа (#26810 - вместе с VK ID и Яндекс ID) отвязать нельзя.
#26729 Отвязка телефона или email своей учётной записи. Последний способ входа (#26810 - вместе с VK ID и Яндекс ID) отвязать нельзя.
Access: authorized (10 ) · allowNullCompany: true · Scope: write · только веб-сессия
Allows: не требуются — own sign-in contacts
TypeScript (copy-paste)
GET /user/contact/unlink
<details open><summary><b>Params</b></summary>export interface UserContactUnlinkParams {
kind: user_contact_code_kind
}
</details>
<details open><summary><b>Response</b></summary>
export type UserContactUnlinkResponse = IServerResponse<Resp_user_contact_unlink>
export interface IServerResponse<T = any> {
code: number
data: T
srvTS: number
rkey: string
}
</details>
Полный файл типов: /docs/types · raw: /docs/api-types.ts
get/user/contact/unlink
Request
- Base URL: http://localhost
- URL: http://localhost/user/contact/unlink
- Auth: API key in header sid and API key in header rts and API key in header sig
Query parameters
kind'phone' | 'email' required
phone = "phone", email = "email"
Можно передать header kind (сервер мержит headers+query)
Headers
devIDstring uuid required
UUID устройства клиента
tzstring required
Example:Europe/Moscow
Таймзона клиента (IANA или offset)
appstring required
Example:kosmodrom-web
Имя клиентского приложения
appVerstring required
Example:1.0.0
Версия клиента
rKeystring
Уникальный ключ запроса для логов/саппорта
Response
OK — IServerResponse<Resp_user_contact_unlink>
Example response
{
"code": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.