Add User Profile V3
POST/v3/user
Adds either a user profile or a service account profile.
The required request body parameters differ, depending on whether you are adding a user account or a service account. Specify whether you're adding a user account or service account through the request parameter type.
The required parameters to add a user account are:
- firstName
- lastName
- roleIds
- defaultRoleId
- timeZone
The required parameters to add a service account are:
- username
- accessKeyName
- accessKeyExpiration (Required only if enableKeyExpiration is true)
- defaultRoleId
- timeZone
Request
Responses
- 200
- 400
- 409
successful operation
empty_user_profile_provided / missing_email / wrong_email_format / missing_first_name / missing_time_zoneinvalid_time_zone / missing_required_parameter / no_role_assigned_to_user / exceeding_role_limit_number / default_role_not_belonging_to_user_role_list / invalid_user_role
duplicate_user_name