Add user to organization
bycloud iam users create --email <email> [flags]Add a user to the organization by email. If the user already exists in the platform, they are added immediately. If not, an invitation email is sent and the user will be added upon accepting the invitation. Optionally specify groups to add the user to.
Options
--output
(-o)
stringoptionalOutput format: text, json, or yaml
Values: "text", "json", "yaml"
Default: "text"
Body Options
Email of the user to add
--group_ids
arrayoptionalIDs of groups to add the user to
Command
bycloud iam users create \--email "user@example.com"
Output
USERID 550e8400-e29b-41d4-a716-446655440000CRN crn::iam:user:550e8400-e29b-41d4-a716-446655440000EMAIL john.doe@acme.comNAME John DoeGROUPS[0]ID 550e8400-e29b-41d4-a716-446655440000NAME string[1]ID 550e8400-e29b-41d4-a716-446655440000NAME stringADDED_AT 2024-01-15T10:30:00ZINVITATIONID 550e8400-e29b-41d4-a716-446655440000EMAIL jane.doe@example.comGROUPS[0]ID 550e8400-e29b-41d4-a716-446655440000NAME string[1]ID 550e8400-e29b-41d4-a716-446655440000NAME stringINVITED_BYID 550e8400-e29b-41d4-a716-446655440000NAME stringEMAIL user@example.comSTATUS pendingEXPIRES_AT 2024-01-15T10:30:00ZCREATED_AT 2024-01-15T10:30:00ZSTATUS added