Devices

List

Retrieve Criteria Device List of a Site Defaults object.

GET/api/MFADefaultSettings/Criteria/Devices
Query parameters
Response

Success

Body
clientnullable string

The name of the client device.

Request
const response = await fetch('/api/MFADefaultSettings/Criteria/Devices', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
[
  {
    "client": "text"
  }
]

Add

Add a device to the Device List of the Criteria settings.

POST/api/MFADefaultSettings/Criteria/Devices
Query parameters
Body

Device configuration.

clientDeviceName*nullable string

The name of the client device to add to the Criteria.

Response

Created

Request
const response = await fetch('/api/MFADefaultSettings/Criteria/Devices', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({
      "clientDeviceName": "text"
    }),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

Remove

Remove a device from the Device List of the Criteria settings.

DELETE/api/MFADefaultSettings/Criteria/Devices
Query parameters
Body

Device configuration.

clientDeviceName*nullable string

The name of the client device to remove from the Criteria.

Response

No Content

Request
const response = await fetch('/api/MFADefaultSettings/Criteria/Devices', {
    method: 'DELETE',
    headers: {
      "Content-Type": "application/json; api-version=1.0"
    },
    body: JSON.stringify({
      "clientDeviceName": "text"
    }),
});
const data = await response.json();
Response
{
  "type": "text",
  "title": "text",
  "detail": "text",
  "instance": "text"
}

© 2024 Parallels International GmbH. All rights reserved.