# Problems using Okta API with postman

**URL:** <https://devforum.okta.com/t/problems-using-okta-api-with-postman/2111>\
**Category:** API\
**Created:** [July 6, 2018, 3:00pm UTC](https://devforum.okta.com/t/problems-using-okta-api-with-postman/2111 "2018-07-06T15:00:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zugdud](https://avatars.discourse-cdn.com/v4/letter/z/c37758/32.png) [@zugdud](https://devforum.okta.com/u/zugdud)\
**Post date:** [July 6, 2018, 3:00pm UTC](https://devforum.okta.com/t/problems-using-okta-api-with-postman/2111/1 "2018-07-06T15:00:12Z")

</div>

I am attempting to use the Postman API collection to try the Okta API using my TRIAL sandbox account. Following the instructions here:

> **[Test the Okta REST APIs using Postman | Okta Developer](https://developer.okta.com/code/rest/)**
>
> Get started with Okta REST APIs and learn how to import a collection and send requests in Postman.

I am able to successfully query data, using various GETs (list users, list groups, get user, get group, etc)

However, I am not able to use the APIs to create/delete/update. A few examples:

- Remove Group will return a 200 OK and respond with the group data in the body, but the group hasn’t been deleted.
- Create User (have tried every permutation included in the postman API) will return a 200 OK and list of all users, and no new user is actually created
- Add group will return 200 OK and a list of groups

Is there a step I’m missing somewhere to give my API key permissions to create/update/delete? In the Admin GUI my key is listed as “Super Admin”, the responses I am getting are also rather confusing. Appreciate any guidance, thank you

---

<div class="post-metadata">

**Author:** ![bdemers](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/bdemers/32/23_2.png) [@bdemers](https://devforum.okta.com/u/bdemers)\
**Post date:** [July 6, 2018, 4:07pm UTC](https://devforum.okta.com/t/problems-using-okta-api-with-postman/2111/2 "2018-07-06T16:07:18Z")

</div>

It is possible you have a readonly api key (if your user only has the `Read Only Administrator` role). What are you seeing as the response body when you attempt one of those actions?

I’d also suggest disabling following redirects: Settings -\> Automatically follow redirects  
[https://www.getpostman.com/docs/v6/postman/launching\_postman/settings](https://www.getpostman.com/docs/v6/postman/launching_postman/settings)

---

<div class="post-metadata">

**Author:** ![zugdud](https://avatars.discourse-cdn.com/v4/letter/z/c37758/32.png) [@zugdud](https://devforum.okta.com/u/zugdud)\
**Post date:** [July 6, 2018, 10:54pm UTC](https://devforum.okta.com/t/problems-using-okta-api-with-postman/2111/3 "2018-07-06T22:54:40Z")

</div>

Thank you for the reply!

My user is a “super admin”, just double checked. I tried disabling the re-direct in postman, but then I was getting an error.

Perhaps there is some other issue with postman on my end, I am running it on Windows for what it’s worth. Good news, I just tried using curl from a Linux instance, following the examples provided in the Okta docs and everything I’ve tried so far seems to be working as advertised! I just needed to prove out some potential integrations, so curl will be fine for me, will stick with that.

Thank you again!

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 12, 2024, 11:17pm UTC](https://devforum.okta.com/t/problems-using-okta-api-with-postman/2111/4 "2024-01-12T23:17:25Z")

</div>


