Server

Update server

patch/server/{name}

Request

Path parameters

namestring required

Name of the server

Headers

X-Auth-Tokenstring required

Request body

Example request

{
  "config": {
    "name": "ad",
    "ldap": {
      "hostname": "1.2.3.4",
      "port": 1234,
      "ssl": true,
      "base_dn": "dc=win,dc=nv,dc=com",
      "bind_dn": "administrator",
      "bind_password": "2222",
      "enable": true,
      "default_role": "admin",
      "role_groups": {
        "role": "admin"
      },
      "group_mapped_roles": [
        {
          "role_domains": {
            "role": "admin"
          }
        }
      ]
    },
    "saml": {
      "sso_url": "https://dev-258.oktapreview.com/app/88_examplesamlapp_1/exYKIvqo0h7/sso/saml",
      "issuer": "http://www.okta.com/xkbjKIvo0h",
      "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",
      "client_id": "0oai4gcl8xXh2itGi1h7",
      "client_secret": "QJju4mL1VLU0CAcD05WJ83K0D_e0gQEydowOvVqv",
      "enable": true,
      "default_role": "admin",
      "role_groups": {
        "role": "admin"
      },
      "group_mapped_roles": [
        {
          "role_domains": {
            "role": "admin"
          }
        }
      ]
    }
  }
}

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.