curl --request POST \
--url http://localhost:3000/v2/UserSearch \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"mode": "login",
"identity": "<string>",
"unlockuuid": "<string>",
"request_metadata": {}
}
'{
"status": "ok",
"rows": [
{
"token": "<string>",
"profile": {},
"version": 123,
"finaltime": 123,
"slidingtime": 123,
"expirationtime": 123,
"grouproles": [
{}
]
}
]
}Searches for users using fuzzy matching
curl --request POST \
--url http://localhost:3000/v2/UserSearch \
--header 'Content-Type: application/json' \
--header 'X-Bunker-Token: <api-key>' \
--data '
{
"mode": "login",
"identity": "<string>",
"unlockuuid": "<string>",
"request_metadata": {}
}
'{
"status": "ok",
"rows": [
{
"token": "<string>",
"profile": {},
"version": 123,
"finaltime": 123,
"slidingtime": 123,
"expirationtime": 123,
"grouproles": [
{}
]
}
]
}API token for authentication
Users found successfully
"ok"
Show child attributes
User's unique token
User profile information
User record version
Final expiration time (Unix timestamp)
Sliding expiration time (Unix timestamp)
Calculated expiration time (Unix timestamp)
User's group roles