public function create($account, $key, $label = null)
    {
        $params = array('key' => $key);

        if (!is_null($label)) {
            $params['label'] = $label;
        }

        return $this->requestPost(
            sprintf('users/%s/ssh-keys', $account),
            $params
        );
    }
public function create($account, $key, $label = null)
    {
        $params = array('key' => $key);

        if (!is_null($label)) {
            $params['label'] = $label;
        }

        return $this->requestPost(
            sprintf('users/%s/ssh-keys', $account),
            $params
        );
    }
public function create ( $ account , $ key , $ label = null ) { $ params = array ( 'key' => $ key ) ; if ( ! is_null ( $ label ) ) { $ params [ 'label' ] = $ label ; } return $ this -> requestPost ( sprintf ( 'users/%s/ssh-keys' , $ account ) , $ params ) ; }
Create a key on the specified account.

@access public
@param  string           $account The name of an individual or team account.
@param  string           $key     The key value.
@param  string           $label   A label for the key. (optional)
@return MessageInterface
Create a key on the specified account .