Create SSH Key
Adds a new ssh key for a user account. Users who are not site administrators can only add SSH Keys for their own user account. Site administrators can create SSH Keys for any user.
POST https://mysite.files.com/api/v2/shares
Replace mysite.files.com with your site address.
Name | Data Type | Notes |
---|---|---|
userId | integer | Required. The internal ID of the user to associate with the SSH Key |
publicKey | string | Required. Public Key contents. You can provide the Public Key as formatted from the ssh-keygen command or a standard rfc-4716 format. |
Get Instant Access to Files.com
The button below will take you to our Free Trial signup page. Click on the white "Start My Free Trial" button, then fill out the short form on the next page. Your account will be activated instantly. You can dive in and start yourself or let us help. The choice is yours.
Start My Free Trial