Skip to main content
POST
cURL

Body

application/json
lb_name
string
required

Load balancer name.

vpc_id
string
required

VPC_ID.

CID
string

The opaque session ID token. Required for 7.2 controllers only.

action
string

The API action to perform. Required for 7.2 controllers only.

auth_type
enum<string>

Authentication type.

Available options:
duo_auth,
duo_ldap_auth,
ldap_auth,
none,
okta_auth,
saml_auth
dns
boolean

Modifying a DNS.

duo_api_hostname
string

API hostname.

duo_integration_key
string

Duo integration key.

duo_push_mode
enum<string>

Duo push mode.

Available options:
auto,
selective,
token
duo_secret_key
string

Duo secret key.

enable_ldap
boolean

Enable LDAP authentication.

ldap_additional_ladp_req
string

Additional requirements.

ldap_base_dn
string

Base DN for User entries.

ldap_bind_dn
string

Bind DN.

ldap_ca_cert
string

CA cert in PEM format. This field must be base64 encoded.

ldap_client_cert
string

Client cert in PEM format. This field must be base64 encoded.

ldap_enable_tls
enum<string>

Enable TLS authentication.

Available options:
yes,
no
ldap_password
string

Bind DN password.

ldap_server
string

LDAP server address.

ldap_user
string

LDAP user.

ldap_username_attribute
string

Username attribute.

okta_token
string

Token for API access.

okta_url
string

Okta URL.

okta_username_suffix
string

Token for API access.

Response

General v2 API response schema.

A generic API response container for v2 style APIs.

errortype
string

Error type if the API failed.

reason
string

Failure reason if the API failed.

results

API response data

return
boolean

Whether the API returned successfully