Okta · Arazzo Workflow

Okta Assign Admin Role to Group

Version 1.0.0

Assign an administrator role to a group and verify the assignment.

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

assign-admin-role-to-group
Assign an admin role to a group and confirm it.
Assigns a role of the supplied type to a group, then lists the group's roles to verify the assignment.
2 steps inputs: groupId, oktaApiToken, roleType outputs: groupId, roleId
1
assignRole
Assign the supplied admin role type to the group.
2
listRoles
List the group's assigned roles to confirm the new role is present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Okta Assign Admin Role to Group
  summary: Assign an administrator role to a group and verify the assignment.
  description: >-
    Grants administrative privileges to every member of a group. The workflow
    assigns a standard Okta admin role to the group and then lists the group's
    assigned roles to confirm the new role is present. The group id is supplied
    once and reused across both steps. 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: assign-admin-role-to-group
  summary: Assign an admin role to a group and confirm it.
  description: >-
    Assigns a role of the supplied type to a group, then lists the group's roles
    to verify the assignment.
  inputs:
    type: object
    required:
    - oktaApiToken
    - groupId
    - roleType
    properties:
      oktaApiToken:
        type: string
        description: Okta API token used for the SSWS Authorization header.
      groupId:
        type: string
        description: The id of the group to grant the role to.
      roleType:
        type: string
        description: The admin role type (e.g. USER_ADMIN, HELP_DESK_ADMIN, GROUP_MEMBERSHIP_ADMIN).
  steps:
  - stepId: assignRole
    description: >-
      Assign the supplied admin role type to the group.
    operationId: assignRoleToGroup
    parameters:
    - name: Authorization
      in: header
      value: SSWS $inputs.oktaApiToken
    - name: groupId
      in: path
      value: $inputs.groupId
    requestBody:
      contentType: application/json
      payload:
        type: $inputs.roleType
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      roleId: $response.body#/id
      roleStatus: $response.body#/status
  - stepId: listRoles
    description: >-
      List the group's assigned roles to confirm the new role is present.
    operationId: listGroupAssignedRoles
    parameters:
    - name: Authorization
      in: header
      value: SSWS $inputs.oktaApiToken
    - name: groupId
      in: path
      value: $inputs.groupId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstRoleId: $response.body#/0/id
  outputs:
    groupId: $inputs.groupId
    roleId: $steps.assignRole.outputs.roleId

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-assign-admin-role-to-group-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.