Skip to Content
Access

Update an SSH rule

PATCH
/accounts/{account_id}/ssh-rules/{rule_id}

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Path Parameters

account_id*string
rule_id*string

Request Body

application/json
  1. body
description?string
sources*

Who. A shorthand that creates or updates the Service's own Access rule.

servers*
users*array<string>

OS users; root only with check

check?boolean

ask the Member to sign in again (every 12 h) before the session

Defaultfalse

Response Body

OK

application/json
  1. response
id*string
description?string
sources*

Who. A shorthand that creates or updates the Service's own Access rule.

servers*
users*array<string>

OS users; root only with check

check?boolean

ask the Member to sign in again (every 12 h) before the session

Defaultfalse
Example Request
curl -X PATCH 'https://tiltas.openpanel.sh/api/v1/accounts/string/ssh-rules/string' \  -H 'Content-Type: application/json' \  -d '{  "sources": {},  "servers": {},  "users": [    "string"  ]}'
Example Response200
{  "id": "string",  "description": "string",  "sources": {    "everyone": true,    "members": [      "string"    ],    "groups": [      "string"    ],    "devices": [      "string"    ]  },  "servers": {    "devices": [      "string"    ],    "groups": [      "string"    ]  },  "users": [    "string"  ],  "check": false}