Update access policy
Replace the access policy; an allowlist that excludes the caller needs confirmation.
Replace the access policy; an allowlist that excludes the caller needs confirmation.
workspaceTokenAuthorizationBearer <vat_<opaque-token>>Expiring, hashed workspace token with explicit scopes.
workspace_id*Workspace Iduuidapplication/json- body
confirm_lockout?Confirm LockoutSave an allowlist that excludes the caller's own address. Without it the request is refused with 409 ip_allowlist_excludes_caller.
falseexpected_version*Expected Version0 <= valueidle_timeout_minutes?integer|nullip_allowlist?array<string>IP addresses or CIDR blocks. Entries are normalized and de-duplicated; at most 100 distinct blocks.
items <= 200require_two_factor?Require Two FactorfalseSuccessful 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 Iduuidcurl -X PUT 'https://api.veriom.ai/v1/workspaces/497f6eca-6276-4993-bfeb-53cbbbba6f08/access-policy' \ -H 'Content-Type: application/json' \ -d '{ "expected_version": 0}'{ "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"}