Skip to content

Update my credential

Request

Updates specific fields of a specific WebAuthn credential of the user that's currently logged in. Since this requires a logged-in user, it must be authorized using a valid user access token returned upon successful authentication.

Security
UserAccessToken
Path
credentialIdstringrequired

Credential ID, returned upon WebAuthn login. Must be URI encoded

Bodyapplication/jsonrequired
display_namestring, [ 1 .. 64 ] charactersrequired

Display name for the user account.

curl -i -X PATCH \
  'https://api.sbx.transmitsecurity.io/cis/v1/users/me/webauthn-credentials/{credentialId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "display_name": "string"
  }'

Responses

Update credential