CreateFileserverApiKey
Creates an api key for a vault on a path with the given permissions
Authentication Methods
- EmailPassword (Only Owner and Admin)
- With AMS username and password
| Input Parameter |
Type |
Description |
| Token* |
String |
Security Token |
| FileserverName* |
String |
Vault name |
| Path* |
String |
empty or / for root |
| Label |
String |
A name/label for this api key |
| Access |
AccessType |
default: ReadWrite |
| AllowInvite |
Boolean |
default: false |
| AllowFolderLink |
Boolean |
default: false |
| AllowWidget |
Boolean |
default: false |
| OpenEmail2Folder |
Boolean |
default: false |
| Output Parameter |
Type |
Description |
| Success |
Boolean |
True if success, false if failed |
CURL EXAMPLE
curl -g 'https://example.com/ctrller/api.php?Task=CreateFileserverApiKey&Token=1d97a1f8-b884-e6bd-3c96-e3f0eedbe083&FileserverName=nmsa473585218625&Path=MyPath&Label=MyVaultApiKey'
RESPONSE
<Response>
<Status>1</Status>
<Message>Success</Message>
<ApiKey>da39f52b-c450-9c0f-e458-02054aa3f065</ApiKey>
</Response>