account.invalidateSignInCodes
Invalidate the specified login codes, see here » for more info.
func (c *Client) AccountInvalidateSignInCodes(ctx context.Context, codes []string) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.AccountInvalidateSignInCodes(ctx, codes)
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Codes | []string | yes | The login codes to invalidate. |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
account.invalidateSignInCodes#ca8ae8ba