Skip to main content

UserRBASettingsApi

MethodHTTP requestDescription
DeleteUserLocationsUsingDELETEDELETE /api/web/v1/users/{userid}/userlocationsDelete user location history
GetUserRbaSettingsUsingGETGET /api/web/v1/users/{userid}/userrbasettingsGet user risk-based authentication settings
IpLocationFromIpAddressUsingPOSTPOST /api/web/v1/iplocationsCreate IP location
ListUserExpectedLocationsUsingGETGET /api/web/v1/users/{userid}/expectedlocationsList expected locations for a user
ListUserLocationsUsingGETGET /api/web/v1/users/{userid}/userlocationsGet user location history
SetUserExpectedLocationsUsingPUTPUT /api/web/v1/users/{userid}/expectedlocationsSet expected locations for a user
UpdateUserRbaSettingsUsingPUTPUT /api/web/v1/users/{userid}/userrbasettingsUpdate user risk-based authentication settings

DeleteUserLocationsUsingDELETE

void DeleteUserLocationsUsingDELETE (string userid, List<string> requestBody)

Delete user location history

Delete one or more entries from a user's location history. Caller requires the USERRBASETTINGS:REMOVE permission.

Using the DeleteUserLocationsUsingDELETEWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose location history is to be updated.
requestBodyList<string>

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-

GetUserRbaSettingsUsingGET

UserRbaSettings GetUserRbaSettingsUsingGET (string userid)

Get user risk-based authentication settings

Get the user risk-based authentication settings for the specified user. Caller requires the USERRBASETTINGS:VIEW permission.

Example

Using the GetUserRbaSettingsUsingGETWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose RBA settings will be retrieved.

Return type

UserRbaSettings

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-

IpLocationFromIpAddressUsingPOST

IpLocation IpLocationFromIpAddressUsingPOST (IpLocation ipLocation)

Create IP location

Gets IP location information for an IP address. The IP location can be used to create an ExpectedLocation. Caller requires the USERRBASETTINGS:ADD permission.

Example

Using the IpLocationFromIpAddressUsingPOSTWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
ipLocationIpLocation

Return type

IpLocation

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-

ListUserExpectedLocationsUsingGET

UserExpectedLocations ListUserExpectedLocationsUsingGET (string userid)

List expected locations for a user

Lists the expected locations for the specified user. Caller requires the USERRBASETTINGS:VIEW permission.

Example

Using the ListUserExpectedLocationsUsingGETWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose expected locations will be returned.

Return type

UserExpectedLocations

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-

ListUserLocationsUsingGET

List<UserLocation> ListUserLocationsUsingGET (string userid)

Get user location history

Get the location history of the specified user. Caller requires the USERRBASETTINGS:VIEW permission.

Example

Using the ListUserLocationsUsingGETWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose location history is to be retrieved.

Return type

List<UserLocation>

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-

SetUserExpectedLocationsUsingPUT

void SetUserExpectedLocationsUsingPUT (string userid, List<ExpectedLocation> expectedLocation)

Set expected locations for a user

Sets the list of expected locations for the specified user. Caller requires the USERRBASETTINGS:EDIT permission.

Example

Using the SetUserExpectedLocationsUsingPUTWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose expected locations will be updated.
expectedLocationList<ExpectedLocation>

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-

UpdateUserRbaSettingsUsingPUT

void UpdateUserRbaSettingsUsingPUT (string userid, UserRbaSettings userRbaSettings)

Update user risk-based authentication settings

Update the user risk-based authentication settings for the specified user. Caller requires the USERRBASETTINGS:EDIT permission.

Example

Using the UpdateUserRbaSettingsUsingPUTWithHttpInfo variant

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

Parameters

NameTypeDescriptionNotes
useridstringThe UUID of the user whose RBA settings will be updated.
userRbaSettingsUserRbaSettings

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-