CreateFileserver

Creates a vault for the currently logged in user.

WARNING!:
The output besides the status code should not be used and is deprecated.

Authentication Methods


  1. With a username and password
  2. Using Kerberos
  3. With AMS username and password
Input Parameter Type Description
Token String Security token
FileserverLabel String Fileserver label
StorageNode String StorageNode ID (as in .ini file)
ReadOnly Boolean True for a readonly fileserver
Quota Integer Value in MB
Note: Only for ams and partner accounts
QuotaWarningLevel Integer Value in MB
Note: Only for ams and partner accounts
StorageBackend String Optional, supply SolFS for using server side encryption
Output Parameter Type Description
FileServer FileServer FileServer object containing the info about the passed fileserver
CURL EXAMPLE
curl -v 'https://nomadesk.com/ctrller/api.php?Token=cn1pm6qc7gf9qhmjbn5649fl74&Task=CreateFileserver&FileserverLabel=newfileserver3'
RESPONSE
<Response>
    <Status>1</Status>
    <Message></Message>

    <!-- WARNING: DEPRECATED OUTPUT -->
    <Fileservers>
        <Fileserver>
            <Name>nmsa000014</Name>
            <Label>newfileserver3</Label>
            <SendUserList>true</SendUserList>
            <AllowInvitesByGuests>false</AllowInvitesByGuests>
            <OwnerEmail>owner@nomadesk.com</OwnerEmail>
            <OpenEmail2Folder>true</OpenEmail2Folder>
            <StorageApiUrl>https://secure.storage.nomadesk.com/storage/api.php</StorageApiUrl>
            <Users>
                <AccountInfo>
                    <FirstName>First Name</FirstName>
                    <LastName>Last Name</LastName>
                    <Address>address1</Address>
                    <Address2>second</Address2>
                    <Email>owner@nomadesk.com</Email>
                    <ZipCode>9030</ZipCode>
                    <City>Gent</City>
                    <State></State>
                    <Country>Belgium</Country>
                    <Status>Owner</Status> 
                </AccountInfo>
            </Users>
        </Fileserver>
    </Fileservers>
</Response>