<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Delete an Unwanted Group via API Using Postman
Okta Integration Network
Overview
In this article, learn how to delete an unwanted group via API using Postman.
Applies To
  • Okta API

  • Groups

  • Postman
Solution

Follow the steps in the video below:

  1. Install Postman and integrate it with Okta
  2. After it is installed, download the desired collections.
  3. Use the Groups (Okta API) / Remove Group API call:

    DELETE {{url}}/api/v1/groups/{{groupId}}

     

    Removes a group of OKTA_GROUP or APP_GROUP type from the organization

     

NOTE:  It is not possible to remove groups of APP_GROUP type if they are used in a group push mapping.

       4. Run the List Groups API call under the Groups collection. Then find the Group to delete and take note of the ID of the Group to delete.

       5. Run the Remove Group API call; replace {{groupId}} with the group ID to be deleted found in step 4, click Send.

Related References


 

Loading
How to Delete an Unwanted Group via API Using Postman