PATCH
/
users
/
{userID}
/
passkeyChallenges
/
{passkeyChallengeID}
curl --request PATCH \
  --url https://backendapi.corbado.io/v2/users/{userID}/passkeyChallenges/{passkeyChallengeID} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "pending"
}'
{
  "challengeID": "<string>",
  "type": "register",
  "value": "<string>",
  "status": "pending",
  "created": 123,
  "createdMs": 123,
  "expires": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

userID
string
required

ID of user

passkeyChallengeID
string
required

ID of a passkey challenge

Body

application/json

Response

200
application/json

Passkey challenge has been updated

The response is of type object.