Access
Create an Access rule
POST
header
AuthorizationBearer <token>qlt_… Access token (kind api)
account_id*stringapplication/json- body
description?stringsources*Who. A shorthand that creates or updates the Service's own Access rule.
destinations*array<>Items
1 <= itemsCreated
application/json- response
id*stringservice_id?|set when the rule belongs to a Service
description?stringsources*Who. A shorthand that creates or updates the Service's own Access rule.
destinations*array<>Items
1 <= itemscurl -X POST 'https://tiltas.openpanel.sh/api/v1/accounts/string/access-rules' \ -H 'Content-Type: application/json' \ -d '{ "sources": {}, "destinations": [ {} ]}'Example Response
{ "id": "string", "service_id": "string", "description": "string", "sources": { "everyone": true, "members": [ "string" ], "groups": [ "string" ], "devices": [ "string" ] }, "destinations": [ { "service_id": "string", "device_id": "string", "group_id": "string", "subnet": "string", "ports": [ "string" ] } ]}