diff --git a/MIGRATING.md b/MIGRATING.md index 59f5c364c05..c0c06b81c70 100644 --- a/MIGRATING.md +++ b/MIGRATING.md @@ -37,15 +37,13 @@ With this removal of `expand` parameter, the caller has two options of achieving - Make a second API call to the Group API and fetch the results. - You can call the Groups API endpoint (or any Okta management API endpoint) using a syntax like below example: - - ```java + ``` // List Groups API, see: https://developer.okta.com/docs/reference/api/groups/#list-groups - ExtensibleResource result = client.http() - .addQueryParameter("expand", "<>") - .get("/api/v1/groups", ExtensibleResource.class); + GroupsList result = client.http() + .addQueryParameter("expand", true) + .get("/api/v1/groups", GroupsList.class); ``` - -Note that the support for `expand` parameter support might go away anytime in future. +- Note that the support for `expand` parameter might go away anytime in future. ### Package `com.okta.sdk.resource.application.SwaThreeFieldApplicationSettingsApplication`