public function upsertOne(
        string $name,
        bool $pass
    ) : array {

        $array = [
            'name'      => $name,
            'pass'      => $pass
        ];

        if (! empty($confidenceLevel)) {
            $array['confidence_level'] = $confidenceLevel;
        }

        return $this->sendPut(
            sprintf('/profiles/%s/gates', $this->userName),
            [],
            $array
        );
    }