# delete\_username

Source: https://zotonic.com/docs/2073/delete_username

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

Language: en



Delete the username from a user, no confirmation.

Arguments:

- `id` identifies the user resource.
- `on_success` can be repeated to run actions after deletion.

The action removes the username identity, not the person resource. It requires a writable site and permission to use `mod_admin_identity`. Use `dialog_delete_username` when confirmation is required.

License: 

Attribution: 

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