Palbase Auth API · API
PUT
/auth/webauthn/credentials/{id}Rename a WebAuthn credential
Rename an existing WebAuthn credential owned by the authenticated user.
Called by a signed-in user of your app, with their token and the publishable key.
Path
idstring · requiredWebAuthn credential ID (`wc_…`).Request body
namestring · requiredcurl
curl -X PUT "https://<your-ref>.palbase.studio/auth/webauthn/credentials/<id>" \
-H "apikey: $PALBASE_PUBLISHABLE_KEY" \
-H "authorization: Bearer $USER_ACCESS_TOKEN" \
-H "content-type: application/json" \
-d '{"name":"string"}'Responses
200Credential renamed
400Validation failed or required field missing
401Missing, invalid, or expired credentials
404Resource does not exist or is not visible to the caller
defaultAn error: the envelope names it (`error`) and explains it (`error_description`).
Operation WebauthnRenameCredential of auth's contract.