cURL
curl --request POST \ --url https://api.smokeball.com/users \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json-patch+json' \ --header 'x-api-key: <api-key>' \ --data '{ "email": "user@domain.com", "password": "<string>", "expireAfterDays": 7, "isInternal": true }'
This response does not have an example.
Creates a user.
Sends an email with a generated password if the password is missing.
When request is successful. Returns a 'User' object.