Skip to main content

FaceApi

MethodHTTP requestDescription
CreateFaceUsingPOSTPOST /api/web/v1/users/{userid}/faceCreate a Face Biometric for a user
DeleteFaceUsingDELETEDELETE /api/web/v1/face/{faceid}Delete the Face Biometric by a given ID
GetFacesUsingGETGET /api/web/v1/users/{userid}/facesGet the Face Biometrics for a given user
GetUserFaceSettingsUsingGETGET /api/web/v1/users/{userid}/settings/faceGets a user Face Biometric settings
UpdateFaceUsingPUTPUT /api/web/v1/users/{userid}/faceUpdate the Face Biometric for a given user

CreateFaceUsingPOST

FaceAuthenticator CreateFaceUsingPOST (string userid, FaceCreateParms faceCreateParms)

Create a Face Biometric for a user

Create a Face for the specified user. Caller requires the FACE:ADD permission.

Using the CreateFaceUsingPOSTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstring
faceCreateParmsFaceCreateParms

Return type

FaceAuthenticator

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

DeleteFaceUsingDELETE

void DeleteFaceUsingDELETE (string faceid)

Delete the Face Biometric by a given ID

Delete the Face Biometric by the specified ID. Caller requires the FACE:REMOVE permission.

Example

Using the DeleteFaceUsingDELETEWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
faceidstringThe ID of the Face Biometric.

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetFacesUsingGET

List<FaceAuthenticator> GetFacesUsingGET (string userid)

Get the Face Biometrics for a given user

Get the Face Biometrics for the specified user. Caller requires the FACE:VIEW permission.

Example

Using the GetFacesUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user to get the Face Biometrics for.

Return type

List<FaceAuthenticator>

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

GetUserFaceSettingsUsingGET

UserFaceSettings GetUserFaceSettingsUsingGET (string userid)

Gets a user Face Biometric settings

Get Face Biometric settings information for the specified user. Caller requires the FACE:VIEW permission.

Example

Using the GetUserFaceSettingsUsingGETWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose Face Biometric settings information is to be fetched.

Return type

UserFaceSettings

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-

UpdateFaceUsingPUT

void UpdateFaceUsingPUT (string userid, FaceUpdateParms faceUpdateParms)

Update the Face Biometric for a given user

Update the Face Biometric for the specified user. Caller requires the FACE:EDIT permission.

Example

Using the UpdateFaceUsingPUTWithHttpInfo variant

This returns an ApiResponse object which contains the response data, status code and headers.

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user to update the Face Biometric for.
faceUpdateParmsFaceUpdateParms

Return type

void (empty response body)

Authorization

AdminAPIAuthentication

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status codeDescriptionResponse headers
200Successful-
400Bad Request-
401Access denied-
403Forbidden-
404Not Found-
409Conflict-