Okta Group API

The Group API from Okta — 16 operation(s) for group.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 28

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/groups List or search groups · Okta List Groups #
Ask an LLM
“Which groups exist in my Okta org?”
“Can I find groups by name prefix or filter by type?”
Tell an agent
List all my groups.
Find groups whose name starts with {q}.
POST /api/v1/groups Create a group · Okta Add Group #
Ask an LLM
“How do I add a new Okta group for a team?”
“What profile fields does a new group need?”
Tell an agent
Create a group with profile {profile}.
Add a new Okta group using the profile {profile}.
GET /api/v1/groups/rules List group membership rules · Okta List Group Rules #
Ask an LLM
“What automatic group assignment rules do I have?”
“Can I search group rules by name?”
Tell an agent
List my group rules.
Find group rules matching {search}.
POST /api/v1/groups/rules Create a group membership rule · Okta Create Group Rule #
Ask an LLM
“How do I automatically add users to a group based on their attributes?”
“Can I write a rule that assigns people to groups by department?”
Tell an agent
Create a group rule named {name} with conditions {conditions}.
Add rule {name} that assigns matching users via {actions}.
GET /api/v1/groups/rules/{ruleId} Get a group membership rule · Okta Get Group Rule #
Ask an LLM
“What conditions does a particular group rule use?”
“Can I look up one group rule by its ID?”
Tell an agent
Show group rule {ruleId}.
Get the conditions and actions of group rule {ruleId}.
PUT /api/v1/groups/rules/{ruleId} Update a group membership rule · Update group rule #
Ask an LLM
“Can I change the conditions of an existing group rule?”
“How do I rename a group rule?”
Tell an agent
Rename group rule {ruleId} to {name}.
Change the conditions of group rule {ruleId} to {conditions}.
DELETE /api/v1/groups/rules/{ruleId} Delete a group membership rule · Okta Delete a group Rule #
Ask an LLM
“How do I delete a group rule, and can I also pull out the users it added?”
“Does removing a rule kick its users out of the group?”
Tell an agent destructive · confirm first
Delete group rule {ruleId}.
Delete group rule {ruleId} and set removeUsers to {removeUsers}.
POST /api/v1/groups/rules/{ruleId}/lifecycle/activate Activate a group membership rule · Okta Activate a group Rule #
Ask an LLM
“How do I start a group rule assigning users?”
“Can a newly created group rule be turned on?”
Tell an agent
Activate group rule {ruleId}.
Turn on automatic assignment for group rule {ruleId}.
POST /api/v1/groups/rules/{ruleId}/lifecycle/deactivate Deactivate a group membership rule · Okta Deactivate a group Rule #
Ask an LLM
“How do I pause a group rule so it stops assigning users?”
“Do I need to deactivate a rule before editing it?”
Tell an agent destructive · confirm first
Deactivate group rule {ruleId}.
Pause the group rule {ruleId}.
GET /api/v1/groups/{groupId} Get a group's details · Okta List Group Rules #
Ask an LLM
“What is the name and description of a specific group?”
“Can I fetch one group's profile by its ID?”
Tell an agent
Show group {groupId}.
Get the profile of group {groupId}.
PUT /api/v1/groups/{groupId} Update a group's profile · Okta Update Group #
Ask an LLM
“Can I rename a group or change its description?”
“How do I edit a group's profile?”
Tell an agent
Update the profile of group {groupId} to {profile}.
Rename group {groupId} using profile {profile}.
DELETE /api/v1/groups/{groupId} Delete a group · Okta Remove Group #
Ask an LLM
“How do I remove an Okta group entirely?”
“Can I delete a group that still has members?”
Tell an agent destructive · confirm first
Delete group {groupId}.
Remove the group {groupId} from my org.
GET /api/v1/groups/{groupId}/apps List apps assigned to a group · Okta List Assigned Applications #
Ask an LLM
“Which applications is a group assigned to?”
“What apps do members of a group get access to?”
Tell an agent
List apps assigned to group {groupId}.
Show {limit} applications for group {groupId}.
GET /api/v1/groups/{groupId}/roles List admin roles assigned to a group · List group assigned roles #
Ask an LLM
“What admin roles does a group hold?”
“Which administrator privileges are granted to a group?”
Tell an agent
List roles assigned to group {groupId}.
Show the admin roles of group {groupId}.
POST /api/v1/groups/{groupId}/roles Assign an admin role to a group · Assign role to group #
Ask an LLM
“How do I give a whole group an administrator role?”
“Can I assign a role to a group without sending admin notification emails?”
Tell an agent
Assign the {type} role to group {groupId}.
Give group {groupId} the {type} role with disableNotifications {disableNotifications}.
GET /api/v1/groups/{groupId}/roles/{roleId} Get a role assigned to a group · Get role #
Ask an LLM
“What does a specific role assignment on a group look like?”
“Can I check one role a group has been given?”
Tell an agent
Show role {roleId} on group {groupId}.
Get the assignment details of role {roleId} for group {groupId}.
DELETE /api/v1/groups/{groupId}/roles/{roleId} Remove an admin role from a group · Remove role from group #
Ask an LLM
“How do I take an admin role away from a group?”
“Can I revoke a group's administrator privileges?”
Tell an agent destructive · confirm first
Remove role {roleId} from group {groupId}.
Unassign admin role {roleId} from group {groupId}.
GET /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps List apps an app-admin role can manage · List application targets for application administrator role for group #
Ask an LLM
“Which apps can a group's app administrator role manage?”
“Is a group's app admin role limited to certain applications?”
Tell an agent
List app targets for role {roleId} on group {groupId}.
Show which apps role {roleId} given to group {groupId} can administer.
PUT /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName} Scope a group's app-admin role to an app type · Add application target to admin role given to group #
Ask an LLM
“How do I limit a group's app admin role to one kind of application?”
“Can I let a group administer every instance of a given app?”
Tell an agent
Add app {appName} as a target of role {roleId} on group {groupId}.
Let group {groupId}'s role {roleId} manage all {appName} apps.
DELETE /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName} Remove an app type from a group's admin role · Remove application target from application administrator role given to group #
Ask an LLM
“How do I stop a group's app admin role from managing an app type?”
“Can I drop one application from a group's admin targets?”
Tell an agent destructive · confirm first
Remove app {appName} from role {roleId} on group {groupId}.
Stop role {roleId} of group {groupId} from managing {appName} apps.
PUT /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId} Scope a group's app-admin role to one app instance · Okta Add App Instance Target to App Administrator Role given to a Group #
Ask an LLM
“Can I restrict a group's app admin role to a single app instance?”
“How do I let a group administer just one specific application?”
Tell an agent
Add instance {applicationId} of {appName} to role {roleId} on group {groupId}.
Let group {groupId}'s role {roleId} manage only app instance {applicationId} of {appName}.
DELETE /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId} Remove one app instance from a group's admin role · Okta Remove App Instance Target to App Administrator Role given to a Group #
Ask an LLM
“How do I remove a single app instance from a group's admin role targets?”
“Can I revoke a group's admin rights over one specific app?”
Tell an agent destructive · confirm first
Remove instance {applicationId} of {appName} from role {roleId} on group {groupId}.
Stop group {groupId}'s role {roleId} managing app instance {applicationId} of {appName}.
GET /api/v1/groups/{groupId}/roles/{roleId}/targets/groups List groups a group-admin role can manage · List group targets for group role #
Ask an LLM
“Which groups can a group's group-admin role manage?”
“Is a group administrator role scoped to specific groups?”
Tell an agent
Show the member groups that admin role {roleId} on {groupId} is scoped to.
Show which groups role {roleId} of group {groupId} administers.
PUT /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId} Scope a group-admin role to a target group · Add group target to group administrator role for group #
Ask an LLM
“How do I limit a group's group-admin role to certain groups?”
“Can I let a group administer just one other group?”
Tell an agent
Scope the group-admin role {roleId} held by {groupId} to administer group {targetGroupId}.
Let group {groupId}'s role {roleId} manage group {targetGroupId}.
DELETE /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId} Remove a target group from a group-admin role · Remove group target from group administrator role given to group #
Ask an LLM
“How do I stop a group's admin role from managing a particular group?”
“Can I remove one group from an admin role's targets?”
Tell an agent destructive · confirm first
Remove group {targetGroupId} from role {roleId} on group {groupId}.
Unscope group {targetGroupId} from the group-admin role {roleId} that {groupId} holds.
GET /api/v1/groups/{groupId}/users List a group's members · Okta List Group Members #
Ask an LLM
“Who are the members of a specific group?”
“Can I page through a large group's membership?”
Tell an agent
List members of group {groupId}.
Show {limit} users in group {groupId}.
PUT /api/v1/groups/{groupId}/users/{userId} Add a user to a group · Okta Add User to Group #
Ask an LLM
“How do I put a user into an Okta group?”
“Can I add someone to a group manually instead of by rule?”
Tell an agent
Add user {userId} to group {groupId}.
Put user {userId} into group {groupId}.
DELETE /api/v1/groups/{groupId}/users/{userId} Remove a user from a group · Okta Remove User from Group #
Ask an LLM
“How do I take a user out of a group?”
“Will removing someone from a group drop their app access?”
Tell an agent destructive · confirm first
Remove user {userId} from group {groupId}.
Take user {userId} out of group {groupId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/okta:okta-group-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

okta-group-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Okta Group API
  description: Allows customers to easily access the Okta API
  termsOfService: https://developer.okta.com/terms/
  contact:
    name: Okta Developer Team
    url: https://developer.okta.com/
    email: devex-public@okta.com
  license:
    name: Apache-2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 2.16.0
servers:
- url: https://your-subdomain.okta.com/
tags:


# --- truncated at 32 KB (54 KB total) ---
# Full source: https://artifacts.apis.io/okta/openapi/okta-group-api-openapi.yml