{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/UpdateUserAuthenticationMethodResponseContent", "title": "UpdateUserAuthenticationMethodResponseContent", "type": "object", "description": "The successfully created authentication method.", "additionalProperties": false, "required": [ "type" ], "properties": { "id": { "type": "string", "description": "The ID of the newly created authentication method (automatically generated by the application)", "format": "authenticator-id" }, "type": { "$ref": "#/components/schemas/CreatedAuthenticationMethodTypeEnum" }, "name": { "type": "string", "description": "A human-readable label to identify the authentication method." }, "totp_secret": { "type": "string", "description": "Base32 encoded secret for TOTP generation" }, "phone_number": { "type": "string", "description": "Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.", "minLength": 2, "maxLength": 30 }, "email": { "type": "string", "description": "Applies to email authentication methods only. The email address used to send verification messages." }, "authentication_methods": { "type": "array", "items": { "$ref": "#/components/schemas/UserAuthenticationMethodProperties" } }, "preferred_authentication_method": { "$ref": "#/components/schemas/PreferredAuthenticationMethodEnum" }, "key_id": { "type": "string", "description": "Applies to webauthn authentication methods only. The id of the credential." }, "public_key": { "type": "string", "description": "Applies to webauthn authentication methods only. The public key." }, "aaguid": { "type": "string", "description": "Applies to passkey authentication methods only. Authenticator Attestation Globally Unique Identifier." }, "relying_party_identifier": { "type": "string", "description": "Applies to webauthn authentication methods only. The relying party identifier." }, "confirmed": { "type": "boolean", "description": "Whether the authentication method has been confirmed." }, "created_at": { "type": "string", "description": "Authentication method creation date", "format": "date-time" } } }