Access
Update an Access rule
PATCH
header
AuthorizationBearer <token>qlt_… Access token (kind api)
account_id*stringrule_id*stringapplication/json- body
description?stringsources*Who. A shorthand that creates or updates the Service's own Access rule.
destinations*array<>Items
1 <= itemsOK
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 PATCH 'https://tiltas.openpanel.sh/api/v1/accounts/string/access-rules/string' \ -H 'Content-Type: application/json' \ -d '{ "sources": {}, "destinations": [ {} ]}'Example Response200
{ "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" ] } ]}Restore Policy Revision POST
Admins. Puts the revision's policy back, through the same checks as any change (the cell enforces it, or nothing is saved). References to Devices, Members and Services that are gone are left out; a rule with nothing left on one side is dropped and listed in left_out. Audit event `policy.restored`; the restore is itself a new revision.
Update a Group PATCH
Next Page