Remove a passkey
DELETE
/cms/customer/passkey/{passkey_id}
const url = 'https://api.example.com/cms/customer/passkey/1';const options = { method: 'DELETE', headers: {'API-Key': '<API-Key>', Authorization: 'Bearer <token>', Token: '<Token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.example.com/cms/customer/passkey/1 \ --header 'API-Key: <API-Key>' \ --header 'Authorization: Bearer <token>' \ --header 'Token: <Token>'The passkey can no longer be used to log in. It stays on the device until the customer removes it there.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”passkey_id
required
integer
Responses
Section titled “Responses”Removed
Media typeapplication/json
object
success
boolean
Example generated
{ "success": true}Not logged in
No such passkey on this account