Add okta.policies.read permission through API

hi, I’m trying to add a permission to a custom admin role using this API like below

curl -s -X POST -H "Authorization: SSWS ${OKTA_TOKEN}" \
        -H "Content-Type: application/json" \
        -d "{}" \
        "https://some-domain.okta.com/api/v1/iam/roles/${ROLE_NAME}/permissions/okta.policies.read"

however I got the error: {"errorCode":"E0000020","errorSummary":"Bad request.","errorLink":"E0000020","errorId":"oae_0yYuJG_QJ-hytJOzgTuyg","errorCauses":[]} back. Trying with other permission (e.g. okta.users.manage) works

Does anyone know what might be the issue? okta.policies.read is listed in the list of permissions here

thanks

Hey @hpcsc, sorry for the delay!

I noticed that our documentation marked this permission as being in Early Access, but I’m going to double check on the status of this enhancement and see if I can confirm if its available yet.

Looks like this permission set is currently only available in Early Access for customers that are licensed for Identity Threat Protection and is not yet available, even in Early Access, for other customers.