Get access policy
Read the IP allowlist, idle timeout, and required two-factor sign-in.
GET
Read the IP allowlist, idle timeout, and required two-factor sign-in.
workspaceTokenheader
AuthorizationBearer <vat_<opaque-token>>Expiring, hashed workspace token with explicit scopes.
workspace_id*Workspace IdFormat
uuidSuccessful Response
application/json- response
client_address*|The address this request came from, as the API sees it. It is the address the IP allowlist checks; see the trust caveats in the API guide.
client_address_allowed*Client Address AllowedWhether the saved allowlist admits client_address.
entitlements*idle_timeout_minutes*|Minutes a browser session may go without a request before it must sign in again.
idle_timeout_options*array<integer>ip_allowlist*array<string>CIDR blocks members may connect from. Empty allows every address.
require_two_factor*Require Two Factorupdated_at*|nullupdated_by*|nullversion*Version0 until the policy is first saved.
workspace_id*Workspace IdFormat
uuidcurl -X GET 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/access-policy'Example Response
{ "client_address": "string", "client_address_allowed": true, "entitlements": { "plan": "trial", "require_two_factor": true }, "idle_timeout_minutes": 0, "idle_timeout_options": [ 0 ], "ip_allowlist": [ "string" ], "require_two_factor": true, "updated_at": "2019-08-24T14:15:22Z", "updated_by": "deea00dc-b6b6-4412-a483-26ac61e1f6fe", "version": 0, "workspace_id": "0967198e-ec7b-4c6b-b4d3-f71244cadbe9"}