<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 Add Group Owners via API
Okta Classic Engine
Identity Governance
Okta Identity Engine
Overview

This article describes how to add Group Owners via the Okta API.

Applies To
  • Okta Identity Governance (OIG)
  • Lifecycle Management
  • API call
Solution
Run the following POST request using Postman to add a new group owner to the appropriate group:
  1. POST /api/v1/groups/{{groupId}}/owners
  2. The body of the request must contain the Okta User ID that should be added, along with the type of user they are.
    • Example Body: { "id": "00u1bb0jz0u8pQEDc697", "type": "USER" }
  3. A response similar to the following example should be received:

{

"id": "00u1bb0jz0u8pQEDc697",

"type": "USER",

"resolved": true,

"originId": null,

"originType": "OKTA_DIRECTORY",

"displayName": "Test User",

"lastUpdated": "Tue May 09 15:41:49 UTC 2023"

}


Group Owner Request Example

As this is an OIG endpoint, this would be an OIG component. The OIG SKUs must be enabled for this to run. If the OIG SKUs are not enabled, a permissions error will be received when trying to run the API request.
 

Related References

 
Loading
How to Add Group Owners via API