POST /dashboard/service/{id}/vps/access

Update SSH keys

Update SSH keys for the VPS.

Parameters

NameTypeInDescription
id*
integerpathThe service ID of the VPS.

Request Body

No schema properties defined.

Response

200
403
404
successboolean

Request

curl -X POST "https://api.royalehosting.net/dashboard/service/{id}/vps/access" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "x-organization-id: YOUR_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{}'

Response

{
  "success": true
}