Skip to main content

MachineAuthApi

MethodHTTP requestDescription
createMachineAuthenticatorUsingPOSTPOST /api/web/v1/users/{userid}/machinesCreate a Machine Authenticator
deleteMachineAuthenticatorUsingDELETEDELETE /api/web/v1/users/{userid}/machines/{id}Delete a Machine Authenticator
listMachineAuthenticatorsUsingGETGET /api/web/v1/users/{userid}/machinesList machine authenticators for a user

createMachineAuthenticatorUsingPOST

MachineAuthenticatorRegistrationResult createMachineAuthenticatorUsingPOST(userid, machineAuthenticatorRegistration)

Create a Machine Authenticator

Create a Machine Authenticator for a user. Caller requires the USERMACHINES:ADD permission.

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user for which the machine authenticator is to be added.
machineAuthenticatorRegistrationMachineAuthenticatorRegistration

Return type

MachineAuthenticatorRegistrationResult

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-

deleteMachineAuthenticatorUsingDELETE

deleteMachineAuthenticatorUsingDELETE(userid, id)

Delete a Machine Authenticator

Deletes a Machine Authenticator from a user. Caller requires the USERMACHINES:REMOVE permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user from which the machine authenticator is to be deleted.
idStringThe UUID of the machine authenticator which is to be deleted.

Return type

null (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-

listMachineAuthenticatorsUsingGET

List<UserMachineAuthenticator> listMachineAuthenticatorsUsingGET(userid)

List machine authenticators for a user

List all machine authenticators for the specified user. Caller requires the USERMACHINES:VIEW permission.

Example

Parameters

NameTypeDescriptionNotes
useridStringThe UUID of the user for which machine authenticators are to be fetched.

Return type

List<UserMachineAuthenticator>

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-