PropelAuth · Arazzo Workflow

PropelAuth Promote Org Member

Version 1.0.0

Find a user by email, change their role within an org, and confirm the new role.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AuthenticationIdentityB2BMulti-TenancyAuthorizationRBACSSOSCIMMCPAPIKeysArazzoWorkflows

Provider

propelauth

Workflows

promote-org-member
Resolve a user by email, change their org role, then verify the new role.
Looks up a user by email, changes that user's role within the organization, and reads back the organization's members filtered by the new role to confirm the change.
3 steps inputs: backendApiKey, email, newRole, orgId outputs: totalUsersWithRole, userId
1
findUser
Resolve the user to promote by email address.
2
changeRole
Change the user's role within the organization.
3
verifyRole
List org members filtered by the new role to confirm the promotion.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: PropelAuth Promote Org Member
  summary: Find a user by email, change their role within an org, and confirm the new role.
  description: >-
    A find-then-act role management flow. The workflow resolves a user by email,
    changes that user's role within the supplied organization, and then lists the
    organization's members filtered by the new role to confirm the promotion took
    effect. Each step inlines its request, including the Backend Integration API
    key as a bearer token.
  version: 1.0.0
sourceDescriptions:
- name: membersApi
  url: ../openapi/propelauth-members-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/propelauth-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: promote-org-member
  summary: Resolve a user by email, change their org role, then verify the new role.
  description: >-
    Looks up a user by email, changes that user's role within the organization,
    and reads back the organization's members filtered by the new role to confirm
    the change.
  inputs:
    type: object
    required:
    - backendApiKey
    - email
    - orgId
    - newRole
    properties:
      backendApiKey:
        type: string
        description: PropelAuth Backend Integration API key presented as a bearer token.
      email:
        type: string
        description: Email address of the user to promote.
      orgId:
        type: string
        description: Identifier of the organization the user belongs to.
      newRole:
        type: string
        description: The role to assign the user within the organization.
  steps:
  - stepId: findUser
    description: Resolve the user to promote by email address.
    operationId: fetchUserByEmail
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    - name: email
      in: query
      value: $inputs.email
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/user_id
  - stepId: changeRole
    description: Change the user's role within the organization.
    operationId: changeRole
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    requestBody:
      contentType: application/json
      payload:
        user_id: $steps.findUser.outputs.userId
        org_id: $inputs.orgId
        role: $inputs.newRole
    successCriteria:
    - condition: $statusCode == 200
  - stepId: verifyRole
    description: List org members filtered by the new role to confirm the promotion.
    operationId: fetchUsersInOrg
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    - name: orgId
      in: path
      value: $inputs.orgId
    - name: role
      in: query
      value: $inputs.newRole
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      totalUsers: $response.body#/total_users
  outputs:
    userId: $steps.findUser.outputs.userId
    totalUsersWithRole: $steps.verifyRole.outputs.totalUsers

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/propelauth-promote-org-member-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.