Create a new company user.
The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your hub user credentials.
The ID of the reseller this operation should be performed against.
Request body for creating a company user.
An array of company ID's to associate the new user to.
An array of roles to assign to this user on creation. By default the first user in a company will receive the super_user role if no other roles are provided. Subsequent users will receive no roles unless specified. Available role keys can be copied from the role management section within hub.
This field is optional, allowing you to create a user without a password. This user will be able to set their own password using the forgot password functionality when logging in.
This field is optional, allowing you to specify the users registration source. If left empty it will default to api.
web, api, app If provided, an API key will be generated for the user and returned in the response. Note: the API key will only be returned in this request. Subsequent lookups of the user via the company API will not yield this value.