Bugsnag SCIM API

The SCIM API from Bugsnag — 4 operation(s) for scim.

Business capability
Tenant Identity Federation BC-4230.50

Operations 11

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 /organizations/{organization_id}/scim/v2/Users List SCIM-provisioned users · List Collaborators on an Organization #
Ask an LLM
“How does my identity provider list the users provisioned in BugSnag via SCIM?”
“Can I look up a SCIM user by exact userName?”
Tell an agent
List SCIM users in organization {organization_id} starting at {startIndex}, {itemsPerPage} per page.
Find the SCIM user matching {filter} in organization {organization_id}, from index {startIndex} with {itemsPerPage} results.
POST /organizations/{organization_id}/scim/v2/Users Provision a user via SCIM · Create a Collaborator #
Ask an LLM
“How do I provision a new user into BugSnag from my identity provider?”
“Can SCIM create collaborators in my organization automatically?”
Tell an agent
Provision a new SCIM user in organization {organization_id}.
Create a collaborator through SCIM for organization {organization_id}.
GET /organizations/{organization_id}/scim/v2/Users/{id} Get a SCIM-provisioned user · Show a Collaborator on an Organization #
Ask an LLM
“How do I fetch one SCIM user record by its ID?”
“Is a particular provisioned user still active?”
Tell an agent
Show SCIM user {id} in organization {organization_id}.
Get the SCIM record for user {id} from organization {organization_id}.
PUT /organizations/{organization_id}/scim/v2/Users/{id} Replace a SCIM user's details · Update a Collaborator #
Ask an LLM
“How do I update a provisioned user's name and email through SCIM?”
“Can a full SCIM user replace also deactivate the user?”
Tell an agent
Replace SCIM user {id} in organization {organization_id} with userName {userName} and emails {emails}.
Set SCIM user {id} in organization {organization_id} to name {name} and active {active}.
PATCH /organizations/{organization_id}/scim/v2/Users/{id} Deactivate or re-add a SCIM user · Add or Remove Previously Added Collaborators #
Ask an LLM
“Can I toggle the active flag to remove and later re-add a provisioned user?”
“How do I apply SCIM patch operations to a single user?”
Tell an agent
Apply SCIM patch operations {Operations} to user {id} in organization {organization_id}.
Reactivate previously removed SCIM user {id} in organization {organization_id}.
DELETE /organizations/{organization_id}/scim/v2/Users/{id} Deprovision a SCIM user · Remove a Collaborator #
Ask an LLM
“How does my identity provider remove a user from BugSnag via SCIM?”
“Can I delete a provisioned collaborator through SCIM?”
Tell an agent destructive · confirm first
Deprovision SCIM user {id} from organization {organization_id}.
Delete SCIM collaborator {id} in organization {organization_id}.
GET /organizations/{organization_id}/scim/v2/Groups List SCIM groups · List Groups on an Organization #
Ask an LLM
“Which SCIM groups are synced into my BugSnag organization?”
“Can I find a SCIM group by its display name?”
Tell an agent
List SCIM groups in organization {organization_id} from index {startIndex}, {itemsPerPage} per page.
Find SCIM groups matching {filter} in organization {organization_id}, starting at {startIndex} with {itemsPerPage} results.
POST /organizations/{organization_id}/scim/v2/Groups Create a SCIM group · Create Group on an Organization #
Ask an LLM
“How do I push a new group from my identity provider into BugSnag?”
“Are members added automatically when a SCIM group is created?”
Tell an agent
Create SCIM group {displayName} in organization {organization_id}.
Add an empty SCIM group named {displayName} to organization {organization_id}.
GET /organizations/{organization_id}/scim/v2/Groups/{id} Get a SCIM group · Show Group on an Organization #
Ask an LLM
“Who belongs to a particular SCIM group?”
“How do I fetch one SCIM group by ID?”
Tell an agent
Show SCIM group {id} in organization {organization_id}.
Get the members of SCIM group {id} in organization {organization_id}.
PATCH /organizations/{organization_id}/scim/v2/Groups/{id} Change a SCIM group's name or members · Update Group on an Organization #
Ask an LLM
“How do I add or remove members of a SCIM group?”
“Can I rename a SCIM group with a patch operation?”
Tell an agent
Apply {op} with value {value} to SCIM group {id} in organization {organization_id}.
Run SCIM {op} on path {path} of group {id} in organization {organization_id} using {value}.
DELETE /organizations/{organization_id}/scim/v2/Groups/{id} Delete a SCIM group · Delete Group on an Organization #
Ask an LLM
“Can I remove a group that was provisioned through SCIM?”
“How do I delete a SCIM group from my organization?”
Tell an agent destructive · confirm first
Delete SCIM group {id} from organization {organization_id}.
Remove the SCIM-synced group {id} in organization {organization_id}.

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/bugsnag:bugsnag-scim-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

bugsnag-scim-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2'
  contact:
    name: BugSnag Support
    email: bugsnag-support@smartbear.com
  title: BugSnag - Data Access SCIM API
  description: Allows you to access information about your BugSnag errors, projects, organization and more to build custom integrations using your data.
servers:
- description: SwaggerHub API Auto Mocking
  url: https://virtserver.swaggerhub.com/smartbear-public/bugsnag-data-access-api/2
- description: For organizations with projects on app.bugsnag.com
  url: https://api.bugsnag.com
- description: For organizations with projects on app.bugsnag.smartbear.com
  url: https://api.bugsnag.smartbear.com
- description: SwaggerHub API Auto Mocking
  url: https://virtserver.swaggerhub.com/smartbear/bugsnag-data-access-api/2
security:
- tokenAuth: []
tags:
- name: SCIM
paths:
  /organizations/{organization_id}/scim/v2/Users:
    get:
      tags:
      - SCIM
      summary: List Collaborators on an Organization
      operationId: listScimCollaborators
      description: 'Return the list of users for the organization.


        The request may be filtered by `userName` equality by passing a filter of the form `userName eq "james@example.com"`. No other filtering is supported.


        Results will be paginated. Further pages may be requested by setting `startIndex` and `itemsPerPage`.'
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
        example: 515fb9337c1074f6fd000001
      - name: filter
        in: query
        required: false
        schema:
          type: string
        description: filter the results by userName
        example: userName eq "james@example.com"
      - name: startIndex
        in: query
        required: true
        schema:
          type: number
        description: the pagination offset, 1-indexed, defaults to 1
        example: 15
      - name: itemsPerPage
        in: query
        required: true
        schema:
          type: number
        description: the number of results returned in this response, defaults to 30, maximum of 100
        example: 10
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimUserListResponse'
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
    post:
      tags:
      - SCIM
      summary: Create a Collaborator
      operationId: createScimCollaborator
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimUser'
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
  /organizations/{organization_id}/scim/v2/Users/{id}:
    get:
      tags:
      - SCIM
      summary: Show a Collaborator on an Organization
      operationId: getScimCollaborator
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
        example: 515fb9337c1074f6fd000001
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: the ID of the collaborator
        example: 515fb9337c1074f6fd000001
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimUser'
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
    put:
      tags:
      - SCIM
      summary: Update a Collaborator
      operationId: updateScimCollaborator
      description: 'Update the basic details of a collaborator. This includes the email address and name of the collaborator.


        Optionally, a collaborator can be added or removed from the organization.

        - If the `active` flag is set to `false` for an existing collaborator then they are removed from the organization.

        - If the `active` flag is set to `true` for a user who is not currently a collaborator, but for whom the ID is known, then they are added to the organization.


        This approach is used by Okta and OneLogin to remove and re-add users to a Bugsnag organization without removing them entirely from their records.'
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: the ID of your organization
        example: 515fb9337c1074f6fd000001
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: the ID of the collaborator
        example: 515fb9337c1074f6fd000001
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScimUser'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimUser'
        '400':
          description: 'The values supplied are invalid

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
                  scimType:
                    type: string
              example:
                detail: Operation failed since record has become invalid
                status: '400'
                scimType: invalidValue
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
    patch:
      tags:
      - SCIM
      summary: Add or Remove Previously Added Collaborators
      operationId: patchScimCollaborator
      description: 'As with the update method above, the `active` flag for a previously added collaborator can be set to remove or re-add them to an organization.


        Setting the `active` flag is the only operation we support for this method.'
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: the ID of your organization
        example: 515fb9337c1074f6fd000001
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: the ID of the collaborator
        example: 515fb9337c1074f6fd000001
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Operations:
                  type: array
                  items:
                    $ref: '#/components/schemas/ScimPatchOp'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimUser'
        '400':
          description: 'The values supplied are invalid

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
                  scimType:
                    type: string
              example:
                detail: Operation failed since record has become invalid
                status: '400'
                scimType: invalidValue
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
    delete:
      tags:
      - SCIM
      summary: Remove a Collaborator
      operationId: deleteScimCollaborator
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: the ID of your organization
        example: 515fb9337c1074f6fd000001
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: the ID of the collaborator to update
        example: 590270d39ef172ad693e05b1
      responses:
        '204':
          description: Collaborator successfully removed.
        '400':
          description: The values supplied are invalid
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
                  scimType:
                    type: string
              example:
                detail: Failed to delete the resource with id `515fb9337c1074f6fd000001`
                status: '400'
                scimType: invalidValue
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
  /organizations/{organization_id}/scim/v2/Groups:
    get:
      tags:
      - SCIM
      summary: List Groups on an Organization
      operationId: listScimGroups
      description: 'Return the list of groups for an organization.


        The request may be filtered by `displayName` equality by passing a filter of the form `displayName eq "Development Group"`. No other filtering is supported.


        Results will be paginated. Further pages may be requested by setting `startIndex` and `itemsPerPage`.'
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
        example: 515fb9337c1074f6fd000001
      - name: filter
        in: query
        required: false
        schema:
          type: string
        description: filter the results by userName
        example: userName eq "james@example.com"
      - name: startIndex
        in: query
        required: true
        schema:
          type: number
        description: the pagination offset, 1-indexed, defaults to 1
        example: 15
      - name: itemsPerPage
        in: query
        required: true
        schema:
          type: number
        description: the number of results returned in this response, defaults to 30, maximum of 100
        example: 10
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimGroupListResponse'
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
    post:
      tags:
      - SCIM
      summary: Create Group on an Organization
      operationId: createScimGroup
      description: 'This endpoint is used to add a group to your BugSnag organization.


        Collaborators are not added when creating a group, so these must be added using the Update Group on an

        Organization endpoint after a group is created.'
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
        example: 515fb9337c1074f6fd000001
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScimGroupCreateRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimGroup'
        '400':
          description: The displayName is too long
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: displayName is too long
                status: '400'
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
        '409':
          description: A group with this name already exists
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
                example:
                  detail: Duplicate resource already exists
                  status: '409'
  /organizations/{organization_id}/scim/v2/Groups/{id}:
    get:
      tags:
      - SCIM
      summary: Show Group on an Organization
      operationId: getScimGroup
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
        example: 515fb9337c1074f6fd000001
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: the ID of the Group
        example: 515fb9337c1074f6fd000001
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScimGroup'
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
    patch:
      tags:
      - SCIM
      summary: Update Group on an Organization
      operationId: updateScimGroup
      description: 'The `value` attribute can use different formatting depending on the context. When updating a groups collaborators

        with the `add` or `remove` operations use an array of objects, where each objects `value` is an ID for a collaborator in the org:


        ```

        "value": [

        {

        "value": "515fb9337c1074f6fd000001"

        },

        {

        "value": "515fb9337c1074f6fd000002"

        }

        ]

        ```


        When updating group details (i.e. the display name) with the `replace` operation use an object with the `displayName` attribute:


        ```

        "value": {

        "displayName": "Testing Group"

        }

        ```


        For more details see the full SCIM standard as defined in RFC7644.'
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
        example: 515fb9337c1074f6fd000001
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: ID of the group
        example: 515fb9337c1074f6fd000002
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ScimGroupOperations'
      responses:
        '204':
          description: OK
        '400':
          description: '- No operations present

            - Bad request

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  details:
                    type: string
                  status:
                    type: string
              example:
                value:
                - No operations present
                - Bad request
                status: '400'
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
    delete:
      tags:
      - SCIM
      summary: Delete Group on an Organization
      operationId: deleteScimGroup
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the organization
        example: 515fb9337c1074f6fd000001
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: ID of the group
      responses:
        '204':
          description: OK
        '401':
          description: 'You do not have permission to view this data. Either an auth token was not

            provided, or you do not have permission to perform this operation.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: Invalid credentials
                status: '401'
        '403':
          description: 'SCIM is not enabled for this organization. Contact support@bugsnag.com for access.

            '
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  status:
                    type: string
              example:
                detail: SCIM not enabled
                status: '403'
        '404':
          description: The group cannot be found
          content:
            application/json:
              schema:
                type: object
                properties:
                  details:
                    type: string
                  status:
                    type: string
              example:
                details: Resource not found
                status: '404'
components:
  schemas:
    ScimGroup:
      type: object
      properties:
        id:
          type: string
          example: 515fb9337c1074f6fd000007
        displayName:
          type: string
          example: Development Group
        members:
          type: array
          items:
            $ref: '#/components/schemas/ScimGroupMember'
          description: the collaborators in a group
      required:
      - id
      - displayName
      - members
    ScimEmail:
      type: object
      properties:
        value:
          type: string
          example: james@example.com
      required:
      - value
    ScimUser:
      type: object
      properties:
        id:
          type: string
          example: 515fb9337c1074f6fd000007
        userName:
          type: string
          example: james.smith@example.com
        name:
          $ref: '#/components/schemas/ScimName'
        emails:
          type: array
          items:
            $ref: '#/components/schemas/ScimEmail'
        active:
          type: boolean
          description: Whether the user is part of the organization.
      required:
      - id
      - userName
      - name
      - emails
    ScimUserListResponse:
      allOf:
      - $ref: '#/components/schemas/ScimListPaginationOptions'
      - type: object
        properties:
          totalResults:
            type: number
            example: 150
            description: the total number of users matching the query
          Resources:
            type: array
            items:
              $ref: '#/components/schemas/ScimUser'
            description: the users of the organisation
        required:
        - totalResults
        - Resources
    ScimGroupOperations:
      type: object
      properties:
        op:
          type: string
          enum:
          - add
          - replace
          - remove
        path:
          type: string
          example: members
          description: the target to update. Optional for `add` or `replace` operations and required for `remove` operations.
        value:
          type: array
          items:
            $ref: '#/components/schemas/ScimGroupOperationsMember'
          description: if updating the group's name, provide an object with a `displayName` attribute instead
      required:
      - op
      - value
    ScimListPaginationOptions:
      type: object
      properties:
        startIndex:
          type: number
          example: 15
          description: the pagination offset, 1-indexed, defaults to 1
        itemsPerPage:
          type: number
          example: 10
          description: the number of results returned in this response
      required:
      - startIndex
      - itemsPerPage
    ScimPatchOp:
      type: object
      properties:
        op:
          type: string
          example: replace
          description: the operation to perform on the field, only `replace` is supported
        path:
          type: string
          example: active
          description: the field to update, only `active` is supported
        value:
          type: boolean
          example: true
          description: the value to set
      required:
      - op
      - path
      - value
    ScimGroupMember:
      type: object
      properties:
        value:
          type: string
          example: 515fb9337c1074f6fd000007
        display:
          type: string
          example: james@example.com
      required:
      - value
      - display
    ScimGroupOperationsMember:
      type: object
      properties:
        value:
          type: string
          example: 515fb9337c1074f6fd000007
          description: the id of a BugSnag collaborators in the org
      required:
      - value
    ScimGroupListResponse:
      type: object
      properties:
        total_results:
          type: number
          example: 10
          description: the total number of groups matching the query
        Resources:
          type: array
          items:
            $ref: '#/components/schemas/ScimGroup'
          description: the SCIM groups of the organization
      required:
      - total_results
      - Resources
    ScimName:
      type: object
      properties:
        formatted:
          type: string
          example: James Smith
        givenName:
          type: string
          example: James
        familyName:
          type: string
          example: Smith
      required:
      - givenName
      - familyName
    ScimGroupCreateRequest:
      type: object
      properties:
        displayName:
          type: string
          example: Development Group
      required:
      - displayName
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Authorize using a Personal Auth Token with the `token` prefix, e.g. "token my_auth_token".