Administrating Authorization Servers using Java SDK

Can the below operation be achieved using the Java SDK?

Security -> API -> Authorization Servers -> Add Authorization Server

Please advise. This is required to automate OKTA configurations.

While our Java Management SDK does not include a specific method for this, you can create Authorization Servers via API calls


curl -v -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: SSWS ${api_token}" \
-d '{
  "name": "Sample Authorization Server",
  "description": "Sample Authorization Server description",
  "audiences": [
}' "https://${yourOktaDomain}/api/v1/authorizationServers"