Missing Required Feature Flag GROUP_PASSWORD_POLICY

I am trying to make a request to policies endpoint like this

{{url}}/api/v1/policies?type=PASSWORD

And I received the following message

{
    "errorCode": "E0000002",
    "errorSummary": "The request was not valid: Invalid policy type specified. Missing Required Feature Flag GROUP_PASSWORD_POLICY",
    "errorLink": "E0000002",
    "errorId": "oae8KpnAcy9TPuqOxZSBHVZeg",
    "errorCauses": []
}

What am I missing?

Thanks in advance

Hi @esteban.mendoza

As per the error message, you require GROUP_PASSWORD_POLICY feature to be enabled on the Okta org on which you are making the HTTP requests.

To enable this feature, simply open a support case by sending an email to support@okta.com or from Okta Support Portal and ask for the feature to be enabled for your org.

Ok, thanks for the reply

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.