---
title: deleteAutoSignInToken()
framework: videosubscriberaccount
role: symbol
role_heading: Instance Method
path: videosubscriberaccount/vsuseraccountmanager/deleteautosignintoken()
---

# deleteAutoSignInToken()

Deletes the value of the current Automatic Sign-In token.

## Declaration

```swift
func deleteAutoSignInToken() async throws
```

## Mentioned in

Signing people in to their media accounts automatically

## Discussion

Discussion This method sets the contents of value to nil for the current autoSignInToken. You might delete an Automatic Sign-In token, for example, if: Your app provides its own UI that lets the person opt out of Automatic Sign-In. The person changes their password and wants to sign out from all of their devices. Your app implements conditions to invalidate a token, such as if a person flags a specific log in as unauthorized.

## See Also

### Signing people in automatically

- [VSUserAccountManager.AutoSignInToken](videosubscriberaccount/vsuseraccountmanager/autosignintoken-swift.struct.md)
- [VSUserAccountManager.AutoSignInTokenUpdateContext](videosubscriberaccount/vsuseraccountmanager/autosignintokenupdatecontext.md)
- [VSUserAccountManager.AutoSignInAuthorization](videosubscriberaccount/vsuseraccountmanager/autosigninauthorization.md)
- [autoSignInToken](videosubscriberaccount/vsuseraccountmanager/autosignintoken-swift.property.md)
- [requestAutoSignInAuthorization()](videosubscriberaccount/vsuseraccountmanager/requestautosigninauthorization().md)
- [updateAutoSignInToken(_:updateContext:)](videosubscriberaccount/vsuseraccountmanager/updateautosignintoken(_:updatecontext:).md)
