IdCheck

GET /id

Check if the user is valid.

Query parameters

  • user_id string Required

    Customer ID

  • name string Required

    Customer Name

  • cache string

    Cache that customer ID and name is matched. If the value is disable, the cache will not be checked

Responses

GET /id
curl \
 -X GET https://nomad.samarkand-global.cn/cbec/id?user_id=string&name=string&Authorization=api_token_value
Response example (200)
{
  "code": 42,
  "message": "string",
  "data": {
    "userValid": false
  },
  "error": "string"
}
Response example (500)
{
  "code": 42,
  "message": "string",
  "data": {
    "userValid": false
  },
  "error": "string"
}