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

  • 200

    User ID and Name has been checked successfully.

    Hide response attributes Show response attributes object
  • 400

    Invalid input.

  • 404

    id check failed.

  • 500

    id retrieval failed.

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