PropelAuth · Arazzo Workflow

PropelAuth Offboard User From Org

Version 1.0.0

Resolve a user by email, remove them from an org, and confirm the remaining membership.

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

Provider

propelauth

Workflows

offboard-user-from-org
Look a user up by email, remove them from an org, then verify the member list.
Resolves a user by email, removes that user from the organization, and reads back the organization's remaining members.
3 steps inputs: backendApiKey, email, orgId outputs: remainingUsers, removedUserId
1
findUser
Resolve the user to offboard by email address.
2
removeUser
Remove the resolved user from the organization.
3
verifyMembers
List the organization's remaining members to confirm the removal.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: PropelAuth Offboard User From Org
  summary: Resolve a user by email, remove them from an org, and confirm the remaining membership.
  description: >-
    A find-then-act offboarding flow for B2B tenants. The workflow resolves a
    user by email, removes that user from the supplied organization, and then
    lists the organization's remaining members to confirm the removal. Each step
    inlines its request, including the Backend Integration API key as a bearer
    token, so the flow reads and runs without the underlying OpenAPI description.
  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: offboard-user-from-org
  summary: Look a user up by email, remove them from an org, then verify the member list.
  description: >-
    Resolves a user by email, removes that user from the organization, and reads
    back the organization's remaining members.
  inputs:
    type: object
    required:
    - backendApiKey
    - email
    - orgId
    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 remove from the organization.
      orgId:
        type: string
        description: Identifier of the organization to remove the user from.
  steps:
  - stepId: findUser
    description: Resolve the user to offboard 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: removeUser
    description: Remove the resolved user from the organization.
    operationId: removeUserFromOrg
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    requestBody:
      contentType: application/json
      payload:
        user_id: $steps.findUser.outputs.userId
        org_id: $inputs.orgId
    successCriteria:
    - condition: $statusCode == 200
  - stepId: verifyMembers
    description: List the organization's remaining members to confirm the removal.
    operationId: fetchUsersInOrg
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.backendApiKey"
    - name: orgId
      in: path
      value: $inputs.orgId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      totalUsers: $response.body#/total_users
  outputs:
    removedUserId: $steps.findUser.outputs.userId
    remainingUsers: $steps.verifyMembers.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-offboard-user-from-org-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.