Okta API Token Permission Check Skip to main content
https://support.okta.com/help/answers?id=9062a000000qupaqak&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Michael SmithMichael Smith 

Okta API Token Permission Check

How can I confirm what permissions my token gives me access to?

I want to confirm I still have access to what I will need todo later on before continuing.

Eg.
1. Connect to Okta via token
2. Confirm I have the required permissions
3. Activate user
4. Assign application

I am currently using Powershell on Okta.Core.Automation.
Valentin IonValentin Ion (Okta, Inc.)
Hello Michael,

My name is Valentin from Okta support.
To clarify your question, the API tokens have the same permissions as the user who creates them, and if the user permissions change, the API token permissions will also change.
For more information please refer to the following link:
https://developer.okta.com/docs/api/getting_started/getting_a_token.html

If additional support is required just call us at our 1-800 number, or Open up a case with our support team.
Michael SmithMichael Smith
Hi Valentin,

Thank you for your message.

I agree and understand what you have stated.

However I am after a way to programmatically check my permissions via API.

I want my script to check that it will be able todo certain operations later on in the script.

Is this possible?