RenamePasskey
PATCH
header
X-API-Key<token>API key for protected endpoints, supplied in the X-API-Key header.
id*idRequest Body
requiredapplication/json{
"user_id": "string",
"name": "MacBook Touch ID"
}user_id?string
name?string
At most 64 UTF-8 bytes. When renaming, whitespace is trimmed before validation and the result must be nonempty.
Response Body
200application/json
Success
type: unknown
{
"$ref": "#/components/schemas/google.protobuf.Empty",
"$ref-value": {
"type": "object",
"description": "An empty JSON object."
}
}default
curl -X PATCH 'https://api.rixl.com/auth/v1/users/current/passkeys/string'Success
application/json
{
"$ref": "#/components/schemas/google.protobuf.Empty",
"$ref-value": {
"type": "object",
"description": "An empty JSON object."
}
}