CreateUserRequestModel
Create hauler request body.
- Value for company_name only valid for thirdparty user types.
Breaking Changes
No breaking changes.
Examples
- Template
Fill this template out with real values.
{
"password": "String",
"recaptcha": "String",
"third_party_hauler_id": "String, optional",
"user_type": "String",
"username": "String"
}
Fields
password
String, Required
New password.
- Passwords must be at least 6 chars long, contain at least 1 capital letters, and at least 1 numbers.
recaptcha
String, Required
Recaptcha answer.
- At least 8 and no more than 512 characters.
third_party_hauler_id
String, Optional
Third party hauler identifier.
- Valid UUID.
user_type
String, Required
User type.
- One of: 'ClientCustomer', 'ThirdPartyDispatcher'.
username
String, Required
New password.
- Must be a valid email address.