Okta · Arazzo Workflow

Okta Create Group and Add Members

Version 1.0.0

Create a new Okta group and add two users to it.

1 workflow 1 source API 1 provider
View Spec View on GitHub IdentityWorkforce IdentityCustomer IdentityAuthenticationAuthorizationSingle Sign-OnMulti-Factor AuthenticationIdentity GovernancePrivileged AccessAI AgentsCross-App AccessMCPPlatformArazzoWorkflows

Provider

okta

Workflows

create-group-and-add-members
Create a group and seed it with members.
Creates an OKTA_GROUP, then adds a primary and secondary user to the new group by id.
3 steps inputs: groupDescription, groupName, oktaApiToken, primaryUserId, secondaryUserId outputs: groupId
1
createGroup
Create a new OKTA_GROUP using the supplied name and optional description.
2
addPrimaryMember
Add the primary user to the newly created group.
3
addSecondaryMember
Add the optional second user to the same group.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Okta Create Group and Add Members
  summary: Create a new Okta group and add two users to it.
  description: >-
    Provisions a new OKTA_GROUP and populates its initial membership. The
    workflow creates the group from a name and description, then adds two
    supplied users to the freshly created group, chaining the new group id into
    each membership call. Every step spells out its request inline, including
    the SSWS API token header, so the flow can be read and executed without
    opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: groupApi
  url: ../openapi/okta-group-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-group-and-add-members
  summary: Create a group and seed it with members.
  description: >-
    Creates an OKTA_GROUP, then adds a primary and secondary user to the new
    group by id.
  inputs:
    type: object
    required:
    - oktaApiToken
    - groupName
    - primaryUserId
    properties:
      oktaApiToken:
        type: string
        description: Okta API token used for the SSWS Authorization header.
      groupName:
        type: string
        description: The display name of the new group.
      groupDescription:
        type: string
        description: An optional description for the new group.
      primaryUserId:
        type: string
        description: The id of the first user to add to the group.
      secondaryUserId:
        type: string
        description: The id of an optional second user to add to the group.
  steps:
  - stepId: createGroup
    description: >-
      Create a new OKTA_GROUP using the supplied name and optional description.
    operationId: createGroup
    parameters:
    - name: Authorization
      in: header
      value: SSWS $inputs.oktaApiToken
    requestBody:
      contentType: application/json
      payload:
        profile:
          name: $inputs.groupName
          description: $inputs.groupDescription
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      groupId: $response.body#/id
      groupType: $response.body#/type
  - stepId: addPrimaryMember
    description: >-
      Add the primary user to the newly created group.
    operationId: addUserToGroup
    parameters:
    - name: Authorization
      in: header
      value: SSWS $inputs.oktaApiToken
    - name: groupId
      in: path
      value: $steps.createGroup.outputs.groupId
    - name: userId
      in: path
      value: $inputs.primaryUserId
    successCriteria:
    - condition: $statusCode == 204
  - stepId: addSecondaryMember
    description: >-
      Add the optional second user to the same group.
    operationId: addUserToGroup
    parameters:
    - name: Authorization
      in: header
      value: SSWS $inputs.oktaApiToken
    - name: groupId
      in: path
      value: $steps.createGroup.outputs.groupId
    - name: userId
      in: path
      value: $inputs.secondaryUserId
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    groupId: $steps.createGroup.outputs.groupId

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • 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 workflow
curl "https://apis.io/api/v1/arazzo/okta-create-group-and-add-members-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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