Okta Admin Management API
/Groups
/- Assign a group owner
Group Owners
List all group owners
Delete a group owner
Assign a group owner
OAuth 2.0 scope:
- okta.groups.manage
Assigns a group owner
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/groups/{groupId}/owners
curl -i -X POST \
https://subdomain.okta.com/api/v1/groups/00g1emaKYZTWRYYRRTSK/owners \
-H 'Content-Type: application/json' \
-d '{
"id": "00u1cmc03xjzePoWD0h8",
"type": "USER"
}'Success
The ID of the app instance if the originType is APPLICATION. This value is NULL if originType is OKTA_DIRECTORY.
The source where group ownership is managed
Enum:"APPLICATION""OKTA_DIRECTORY"
If originTypeis APPLICATION, this parameter is set to FALSE until the owner's originId is reconciled with an associated Okta ID.
Response
{ "id": "00u1cmc03xjzePoWD0h8", "type": "USER", "resolved": true, "originId": null, "originType": "OKTA_DIRECTORY", "displayName": "Oliver Putnam", "lastUpdated": "Wed Mar 29 18:34:31 UTC 2023" }