Skip to main content
REST API reference

Security webauthn credentials endpoint overview

Overview

This API is used to retrieve all WebAuthn credentials entries.

Examples

Retrieving all Webauthn credentials entries

The following output shows all WebAuthn credentials entries.

## The API:
/api/security/webauthn/credentials

## The call:
curl -X GET "https://<mgmt-ip>/api/security/webauthn/credentials"

# The response:
{
"records": [
  {
    "owner": {
      "uuid": "389758ee-40cd-11ef-bb21-005056aeae31",
      "_links": {
        "self": {
          "href": "/api/svm/svms/389758ee-40cd-11ef-bb21-005056aeae31"
        }
      }
    },
    "username": "user_1",
    "index": 0,
    "relying_party": {
      "id": "ontap1.example.com",
      "name": "ontap1.example.com"
    },
    "_links": {
      "self": {
        "href": "/api/security/webauthn/credentials/389758ee-40cd-11ef-bb21-005056aeae31/user_1/0/ontap1.example.com"
      }
    }
  }
],
"num_records": 1,
"_links": {
  "self": {
    "href": "/api/security/webauthn/credentials/"
  }
}
}