Skip to main content
POST
/
api
/
workspaces
/
{id}
/
ssh-keys
/
sync
Sync all account SSH keys to the workspace.
curl --request POST \
  --url https://api.rigbox.dev/api/workspaces/{id}/ssh-keys/sync \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "comment": "<string>",
      "fingerprint": "<string>",
      "key_type": "<string>"
    }
  ],
  "synced": 1
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Workspace ID

Response

200 - application/json

SSH keys synced

keys
object[]
required
synced
integer
required
Required range: x >= 0