From e014b4d9709fc505ed2b25071aa9872b7587c2ff Mon Sep 17 00:00:00 2001 From: Ramya Nagarajan Date: Thu, 7 Apr 2022 10:33:52 -0700 Subject: [PATCH] api: update acl/validate data format (#4366) Expected input is JSON formatted []policy.ACLTest Signed-off-by: Ramya Nagarajan --- api.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api.md b/api.md index a5cf6cb9a..94f0a7464 100644 --- a/api.md +++ b/api.md @@ -636,11 +636,9 @@ POST /api/v2/tailnet/example.com/acl/validate curl 'https://api.tailscale.com/api/v2/tailnet/example.com/acl/validate' \ -u "tskey-yourapikey123:" \ --data-binary ' -{ [ {"User": "user1@example.com", "Allow": ["example-host-1:22"], "Deny": ["example-host-2:100"]} - ] -}' + ]' ``` Response: