# logoff

Source: https://zotonic.com/docs/2096/logoff

URI: https://zotonic.com/id/2096

Language: en



This action logs off the current user and reloads the current page as the anonymous visitor.

Example:

```erlang
{% button text="Log off" action={logoff} %}
```

After clicking the button the page will reload and the current user will be signed out.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2096?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2096?language=en>)
