Skip to content

Update credential

Request

Updates specific fields of a specific WebAuthn credential of given user. This requires a client access token of the application, and must be called from the backend.

Required permissions: apps:edit, [appId]:edit, authenticators:edit.

Security
ClientAccessToken
Path
userIdstringrequired

ID of the user whom the credentials belong to

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/{userId}/webauthn-credentials/{credentialId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "display_name": "string"
  }'

Responses

Update credential