function SauceRest::createSubAccount
Create new sub-account: /rest/v1/users/:userId (POST)
For "partners", $accountInfo also contains 'plan' => (one of 'free', 'small', 'team', 'com', or 'complus')
Parameters
array $accountInfo array('username' => ..., 'password' => ..., 'name' => ..., 'email' => ...):
Return value
array array('access_key' => ..., 'minutes' => ..., 'id' => ...)
File
-
vendor/
lullabot/ php-webdriver/ lib/ WebDriver/ SauceLabs/ SauceRest.php, line 164
Class
Namespace
WebDriver\SauceLabsCode
public function createSubAccount($accountInfo) {
return $this->execute('POST', 'users/' . $this->userId, $accountInfo);
}