检查账号是否存在
GEThttps://unknown.ap-shanghai.tcb-api.tencentcloudapi.com/auth/v1/checkIfUserExist
检查账号是否存在
Request
Query Parameters
username string
Responses
- 200
- 401
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
exist boolean
{
"exist": true
}
the oauth2.0 access token is not correct or expired
- application/json
- Schema
Schema
- any
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
message string
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Authorization: http
name: Basictype: httpscheme: basic
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://unknown.ap-shanghai.tcb-api.tencentcloudapi.com/auth/v1/checkIfUserExist' \
-H 'Accept: application/json'
ResponseClear