GetFileserverApiKeys
Returns a list of all api keys for a given Vault
Authentication Methods
- EmailPassword (Only Owner and Admin)
- With AMS username and password
Input Parameter |
Type |
Description |
Token* |
String |
Security Token |
FileserverName* |
String |
|
Output Parameter |
Type |
Description |
Success |
Boolean |
True if success, false if failed |
CURL EXAMPLE
curl -g 'https://example.com/ctrller/api.php?Task=GetFileserverApiKeys&FileserverName=nmsa473585218625&Token=1d97a1f8-b884-e6bd-3c96-e3f0eedbe083'
RESPONSE
<?xml version="1.0" encoding="utf-8" ?><Response>
<Status>1</Status>
<Message>Success</Message>
<Permissions>
<Permission>
<ApiKey>d377d3ba-7dc0-ebd0-0e2d-6de5727c44d2</ApiKey>
<Label>MyApiKey</Label>
<Vault>nmsa473585218625</Vault>
<StorageAPIUrl>https://example.com/storage/api.php</StorageAPIUrl>
<Path>MyPath</Path>
<Created>1573050735</Created>
<Access>ReadWrite</Access>
<AllowInvite>false</AllowInvite>
<AllowFolderLink>false</AllowFolderLink>
<AllowWidget>false</AllowWidget>
<AllowTransferOwner>false</AllowTransferOwner>
<AllowChangeSettings>false</AllowChangeSettings>
<AllowEmail2Folder>false</AllowEmail2Folder>
<AllowRemoveTrash>false</AllowRemoveTrash>
</Permission>
<Permission>
<ApiKey>f5f549bc-37e3-cf50-af8f-ab2feae4cafb</ApiKey>
<Label>MySecondApiKey</Label>
<Vault>nmsa473585218625</Vault>
<StorageAPIUrl>https://example.com/storage/api.php</StorageAPIUrl>
<Path>My/Shared/Directory</Path>
<Created>1573050759</Created>
<Access>ReadWrite</Access>
<AllowInvite>false</AllowInvite>
<AllowFolderLink>false</AllowFolderLink>
<AllowWidget>false</AllowWidget>
<AllowTransferOwner>false</AllowTransferOwner>
<AllowChangeSettings>false</AllowChangeSettings>
<AllowEmail2Folder>false</AllowEmail2Folder>
<AllowRemoveTrash>false</AllowRemoveTrash>
</Permission>
</Permissions>
</Response>