public_keys
Public Keys
Create Public Key
Changed onCreate Public Key
post/public_keys
Request
- Base URLhttps://app.files.com/api/rest/v1
- URLhttps://app.files.com/api/rest/v1/public_keys
- Authnone declared
Request body multipart/form-data
Example request
{
"title": "My Main Key",
"generate_private_key_password": "[your private key password]",
"generate_algorithm": "rsa",
"generate_length": 4096
}Response
The PublicKeys object.
Example response
{
"id": 1,
"title": "My public key",
"created_at": "2000-01-01T01:00:00Z",
"expires_at": "2000-01-01T01:00:00Z",
"expired": true,
"fingerprint": "43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8",
"fingerprint_sha256": "V5Q5t/ghT3R8Tol5GX9385bzmpygWVRnLuI9EXNrjCX",
"status": "complete",
"last_login_at": "2000-01-01T01:00:00Z",
"generated_private_key": "example",
"generated_public_key": "example",
"username": "User",
"user_id": 1
}Changes
- info
api tag
Public Keysadded
- info
- info
api operation id
postPublicKeysremoved and replaced withPostPublicKeys
- info