Skip to main content

Create SSH Key

Summary

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.

Endpoint

POST https://mysite.files.com/api/v2/shares

Replace mysite.files.com with your site address.

Request Body Schema

NameData TypeNotes
userIdintegerRequired. The internal ID of the user to associate with the SSH Key
publicKeystringRequired. Public Key contents. You can provide the Public Key as formatted from the ssh-keygen command or a standard rfc-4716 format.

Ready to Transform Your File Infrastructure?

Join over 4,000 organizations that trust Files.com to manage their mission-critical file flows. Start your free trial today and see why we're the #1 rated file orchestration platform.

No credit card required • 7-day free trial • Setup in minutes