curl --request PUT \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/passkeys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"alias": "An example name"
}'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"alias": "<string>",
"userAgent": "<string>",
"origin": "<string>",
"credentialId": "An example name",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"storage": {
"name": "<string>",
"icon": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
curl --request PUT \
--url https://app.dynamicauth.com/api/v0/sdk/{environmentId}/users/passkeys \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"alias": "An example name"
}'
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"alias": "<string>",
"userAgent": "<string>",
"origin": "<string>",
"credentialId": "An example name",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"storage": {
"name": "<string>",
"icon": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the environment
36
"95b11417-f18f-457f-8804-68e361f9164f"
update user passkey parameters
The body is of type object
.
successful operation - passkey updated
The response is of type object
.
Was this page helpful?