passkey

Description

Passkeys are an additional authentication method used at auth.foxy.io to access admin.foxy.io. Passkey creation is limited to Foxy internal processes. If you have a use case that requires creating passkeys, please reach out to discuss it with us.

Actions

GET
View a passkey
DELETE
Delete a passkey
HEAD
Get just the header response
OPTIONS
Get a response explaining which HTTP methods are supported

Properties

Property Description Type Constraints
credential_id Credential ID of this passkey. String Read only
last_login_date The last login date using this passkey. String Read Only
last_login_ua The last login UA for this passkey. String Read Only
date_created The date this passkey was created. Date Read only
date_modified The date this passkey was last modified. Date Read only

Example Representation

{
    "_links": {
        "curies": [
            {
                "name": "fx",
                "href": "https://api.foxycart.com/rels/{rel}",
                "templated": true
            }
        ],
        "self": {
            "href": "https://api.foxycart.com/passkeys/5",
            "title": "This passkey"
        },
        "fx:user": {
            "href": "https://api.foxycart.com/users/123",
            "title": "Foxy user that owns this passkey"
        },
        "fx:user_passkeys": {
            "href": "https://api.foxycart.com/users/123/passkeys",
            "title": "Collection of all passkeys for authenticated User"
        }
    },
    "credential_id": "passkey_credentialId",
    "last_login_date": "2024-03-29T19:03:19-0700",
    "last_login_ua": null,
    "date_created": "2024-03-29T19:03:19-0700",
    "date_modified": "2024-03-30T06:55:53-0700"
}
<?xml version="1.0" encoding="UTF-8"?>
<resource href="https://api-sandbox.foxycart.com/passkeys/5" rel="https://api.foxycart.com/rels/passkeys">
    <link rel="self" href="https://api-sandbox.foxycart.com/passkeys/5" title="This Passkey"/>
    <link rel="https://api.foxycart.com/rels/users" href="https://api-sandbox.foxycart.com/users/123" title="Foxy user that owns this passkey"/>
    <link rel="https://api.foxycart.com/rels/passkeys" href="https://api-sandbox.foxycart.com/users/123/passkeys" title="Collection of all passkeys for authenticated User"/>
    <credential_id>passkey_credentialId</credential_id>
    <last_login_date>2024-03-29T19:03:19-0700</last_login_date>
    <last_login_ua></last_login_ua>
    <date_created>2024-03-29T19:03:19-0700</date_created>
    <date_modified>2024-03-30T06:55:53-0700</date_modified>
</resource>
{
    "class": [
        "passkeys"
    ],
    "rel": [
        "https://api.foxycart.com/rels/passkeys"
    ],
    "properties": {
        "credential_id": "passkey_credentialId",
        "last_login_date": "2024-03-29T19:03:19-0700",
        "last_login_ua": null,
        "date_created": "2024-03-29T19:03:19-0700",
        "date_modified": "2024-03-30T06:55:53-0700"
    },
    "links": [
        {
            "rel": [
                "self"
            ],
            "href": "https://api-sandbox.foxycart.com/passkeys/5"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/users"
            ],
            "href": "https://api-sandbox.foxycart.com/users/123"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/passkeys"
            ],
            "href": "https://api-sandbox.foxycart.com/users/123/passkeys"
        }
    ]
}

Zoomable Resources

This resource has no linked resources which can be "zoomed" in on, filtered and embedded within this resource.