Legacy Restful API
1.0.0
1.0.0
  • Introduction
  • Biometric Engines
  • Getting Started
  • User
    • Create User
    • Delete User
  • Face Engine
    • Enroll Face
    • Verify Face
    • Adapt Face
    • Delete User Face Enroll
    • Find User Id by Face
    • Find Multiple Id by Face
    • Find Face Properties
  • Liveness
    • Biometrics Status
    • Biometrics Liveness
  • Voice Engine
    • Enroll Voice
    • Verify Voice
    • Adapt Voice
    • Delete User Voice Enroll
    • Get Available Languages
  • OCR Engine
    • Validate Document
    • Validate Document (base64)
    • Verify document photo
    • Verify document photo (base64)
  • Auxiliar Methods
    • Get enroll Status
    • Has Pending Dialogue
    • Restart User State
    • Find UserId by MacAddress
Powered by GitBook
On this page

Was this helpful?

  1. Auxiliar Methods

Restart User State

This method is used to restart the user session at the biometrid server cleaning all data associated with any current process and finishing those.

Restart User State

GET https://api.biometrid.com/api/1.0/users/:userId/restart-state

Restart User's Process State.

Path Parameters

Name
Type
Description

userId

string

BiometrID user ID

Headers

Name
Type
Description

x-biometrid-key

string

Application client key.

x-biometrid-secret

string

Application client secret.

HTTP/1.1 200 OK
{
    "status": true,
    "data": {
        "message": "STATE_RESTARTED_WITH_SUCCESS"
    }
}
HTTP/1.1 400 Bad Request
{
    "status": false,
    "data": {
        "message": "AUTHENTICATION_HEADERS_MISSING"
    }
}
HTTP/1.1 401 Unauthorized
{
    "status": false,
    "data": {
        "message": "INVALID_AUTHENTICATION_HEADERS"
    }
}
HTTP/1.1 402 Payment Required
{
    "status": false,
    "data": {
        "message": "REQUEST_LIMIT_REACHED"
    }
}
HTTP/1.1 404 Not Found
//User's id not exists in biometrid environment.
{
    "status": false,
    "data": {
        "message": "USERID_NOT_EXISTS"
    }
}
// Client not found by given key.
{
    "status": false,
    "data": {
        "message": "CLIENT_NOT_FOUND/CHECK_AUTHENTICATION_HEADERS"
    }
}
HTTP/1.1 500 Internal Server Error
{
    "status": false,
    "data": {
        "message": "PROBLEM_OCURRED_REPEAT_REQUEST"
    }
}

PreviousHas Pending DialogueNextFind UserId by MacAddress

Last updated 6 years ago

Was this helpful?