account.deletePasskey
Delete a passkey associated to the current account, see here » for more info.
func (c *Client) AccountDeletePasskey(ctx context.Context, id string) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountDeletePasskey(ctx, id)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
ID | string | yes | Identifier of the passkey to delete, taken from passkey.id, usually obtained using account.getPasskeys. |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
account.deletePasskey#f5b5563f