# dialog\_delete\_username

Source: https://zotonic.com/docs/2071/dialog_delete_username

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

Language: en



Open a dialog to confirm the deletion of the username of a user.

The required `id` argument identifies the user resource. `on_success` can be repeated and is forwarded to the confirmed deletion. The dialog is only opened on a writable site for users allowed to use `mod_admin_identity`, and only when the resource currently has a username.

```django
{% button text="Remove login" action={dialog_delete_username id=id on_success={reload}} %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2071?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/2071?language=en>)
