Server
Get a list of servers
get/server
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Auth-Tokenstring required
Response
Success
Example response
{
"servers": [
{
"server_name": "iperfserver",
"server_type": "ldap",
"ldap": {
"hostname": "172.17.0.3",
"port": 389,
"base_dn": "dc=example,dc=org",
"bind_dn": "cn=admin,dc=example,dc=org",
"bind_password": "mypassword",
"default_role": "reader",
"role_groups": {
"role": "admin"
},
"group_mapped_roles": [
{
"role_domains": {
"role": "admin"
}
}
]
},
"saml": {
"sso_url": "https://dev-2588.oktapreview.com/app/examplesamlapp_1/exjlpo0/sso/saml",
"issuer": "http://www.okta.com/exkgp9avqo07",
"x509_cert": "E7B0OS/N3KMVCL6KNMZ2+LOV90S7854NSD84P0BF",
"enable": true,
"default_role": "admin",
"role_groups": {
"role": "admin"
},
"group_mapped_roles": [
{
"role_domains": {
"role": "admin"
}
}
]
},
"oidc": {
"issuer": "https://dev-256438.oktapreview.com",
"authorization_endpoint": "https://dev-256438.oktapreview.com/oauth2/v1/authorize",
"token_endpoint": "https://dev-256438.oktapreview.com/oauth2/v1/token",
"user_info_endpoint": "https://dev-256438.oktapreview.com/oauth2/v1/userinfo",
"client_id": "0oai4gal8xXh0itGi0h7",
"enable": true,
"default_role": "admin",
"role_groups": {
"role": "admin"
},
"group_mapped_roles": [
{
"role_domains": {
"role": "admin"
}
}
]
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.