Skip to main content
POST
Add auto access
Required scopes: access_rules:rw

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
access
object
required

The destination access. Required.

conditions
object
required

The conditions to check. At least one of url, domain, or geolocation must be set.

description
string

The description of the auto access.

next_id
string

The ID of an existing auto access. Leave empty if the new auto access should be the last one in the list.

Response

200 - application/json

Auto access created successfully.

id
string

Unique identifier of the created auto access.