# Create a username for user This route creates a username for a user. Endpoint: POST /resources/usernames/v1 Security: bearer ## Header parameters: - `frontegg-tenant-id` (string) The tenant identifier. Required for requests to api.frontegg.com (or your region) when using a management token. Parsed from the token when using user or API tokens ## Request fields (application/json): - `username` (string, required) The username to create. Allowed characters: alphanumeric (a-z, 0-9), ^, $, ., !, -, #, +, ', ~, _ (no spaces, no accents, automatically converted to lowercase). Max length: 128 characters. Example: "john.doe$!#-+'~_" ## Response 200 fields ## Response 201 fields