Create WebAuthn registration options for a directory password migration transaction.
POST
/api/auth/directory-password/migration/passkey/options
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/auth/directory-password/migration/passkey/options \ --header 'Content-Type: application/json' \ --data '{ "transaction_id": "damt_123", "transaction_token": "migration-transaction-token", "display_name": "Example User" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
transaction_id
required
string
transaction_token
required
string
display_name
string
key
additional properties
Example
{ "transaction_id": "damt_123", "transaction_token": "migration-transaction-token", "display_name": "Example User"}Responses
Section titled “ Responses ”Successful response. The representation can be JSON, HTML, or a redirect.
Successful response. The representation can be JSON, HTML, or a redirect.
Successful response. The representation can be JSON, HTML, or a redirect.
Successful response. The representation can be JSON, HTML, or a redirect.