Rename a passkey

PATCH/auth/v1/users/current/passkeys/{id}

Renames the authenticated user's passkey identified by the path ID to the supplied name.

Authorization<token>

In: header

Path Parameters

id*string

Passkey ID

Request Body

required
application/json
{
  "$ref": "#/components/schemas/internal_auth.renamePasskeyBody",
  "$ref-value": {
    "properties": {
      "name": {
        "maxLength": 64,
        "type": "string"
      }
    },
    "required": [
      "name"
    ],
    "type": "object"
  }
}

Response Body

204

No Content

curl -X PATCH "https://api.rixl.com/auth/v1/users/current/passkeys/string" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string"
  }'

No Content