Skip to content

Files

Latest commit

 

History

History

auth

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

API Reference

Set up SSH key on all running servers

  POST /auth
Parameter Type Description
Authorization string Required. Access token
pub_key string Required. SSH Public Key (RSA)
Response
{
    "task_id": "xQbB37gt85UHQfjApbju"
}

Set up SSH key on all servers in a project

  POST /auth
Parameter Type Description
Authorization string Required. Access token
pub_key string Required. SSH Public Key (RSA)
project_id integer Required. Numeric id of the project
Response
{
    "task_id": "a2PQ8NLoLIRypvzf7X3e"
}

Set up SSH key on a single server

  POST /auth
Parameter Type Description
Authorization string Required. Access token
pub_key string Required. SSH Public Key (RSA)
server_id integer Required. Numeric id of the server
Response
{
    "task_id": "cPOQ8NLRLIRypcezf7X3e"
}