WebAuthn - Delete user credential via api

Hi,

React js account-console theme with Keycloak 24.0.5.
How to delete user credential (passkey) via api?
I tried the original PassKey signup and remove method in /account-security/signing-in
it called many request when click Delete button like:

http://localhost:8080/realms/quickstart/protocol/openid-connect/auth
client_id: account-console
redirect_uri: http://localhost:8080/realms/quickstart/account/#/account-security/signing-in
state: ##random id##
response_mode: query
response_type: code
scope: openid
nonce: ##random id##
kc_action: delete_credential:##target credential id##
code_challenge: ##random id##
code_challenge_method: S256

and when clicked confirm button in UI will call:

http://localhost:8080/realms/quickstart/login-actions/required-action
session_code: ##random id##
execution: delete_credential
client_id: account-console
tab_id: ##random id##

How to get those required ##random id## params?