Skip to content

Rename a passkey

PATCH
/v1/mfa/passkeys/{passkeyId}
curl --request PATCH \
--url https://api.aetherpush.com/v1/mfa/passkeys/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example" }'

Session-only. Changes the display name of one passkey.

passkeyId
required
string format: uuid
Media typeapplication/json
object
name
required
string
>= 1 characters <= 100 characters
Examplegenerated
{
"name": "example"
}

Passkey renamed.

Media typeapplication/json

Generic response with a single human-readable message field. Used by password-reset and resend-verification flows where the server returns a generic message regardless of whether the target account exists, to prevent enumeration attacks.

object
message
required
string
Example
{
"message": "If an account with that email exists, a password reset link has been sent."
}

Invalid name.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

Authentication required.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

API keys and named access keys cannot manage passkeys; a login session is required.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}

Passkey not found.

Media typeapplication/json
object
error
required

Human-readable error message.

string
requestId

Unique identifier for the request, also exposed as the X-Request-Id response header.

string
Example
{
"error": "The requested resource was not found.",
"requestId": "req_abc123"
}