> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke bundle members

> Revoke an Agent Vault access bundle from users, machine identities or groups



## OpenAPI

````yaml POST /api/v1/agent-vault/access-bundles/{accessBundleId}/members/revoke
openapi: 3.0.3
info:
  title: Infisical API
  description: List of all available APIs that can be consumed
  version: 0.0.1
servers:
  - url: https://us.infisical.com
    description: Production server (US)
  - url: https://eu.infisical.com
    description: Production server (EU)
  - url: http://localhost:8080
    description: Local server
security: []
paths:
  /api/v1/agent-vault/access-bundles/{accessBundleId}/members/revoke:
    post:
      tags:
        - Agent Vault Access Bundles
      description: >-
        Revoke an Agent Vault access bundle from users, machine identities or
        groups
      operationId: revokeAgentVaultAccessBundleMembers
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: accessBundleId
          required: true
          description: The ID of the access bundle.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                userIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                  default: []
                  description: The IDs of the users to revoke the access bundle from.
                machineIdentityIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                  default: []
                  description: >-
                    The IDs of the machine identities to revoke the access
                    bundle from.
                groupIds:
                  type: array
                  items:
                    type: string
                    format: uuid
                  default: []
                  description: The IDs of the groups to revoke the access bundle from.
              additionalProperties: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  members:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: The ID of the access bundle membership.
                        accessBundleId:
                          type: string
                          format: uuid
                          description: The ID of the access bundle.
                        createdAt:
                          type: string
                          format: date-time
                          description: When the access bundle was granted.
                        actor:
                          anyOf:
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - user
                                  description: >-
                                    Whether this member is a user, a machine
                                    identity or a group.
                                id:
                                  type: string
                                  format: uuid
                                  description: >-
                                    The ID of the user, machine identity or
                                    group.
                              required:
                                - type
                                - id
                              additionalProperties: false
                              title: User
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - machineIdentity
                                  description: >-
                                    Whether this member is a user, a machine
                                    identity or a group.
                                id:
                                  type: string
                                  format: uuid
                                  description: >-
                                    The ID of the user, machine identity or
                                    group.
                              required:
                                - type
                                - id
                              additionalProperties: false
                              title: Machine identity
                            - type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - group
                                  description: >-
                                    Whether this member is a user, a machine
                                    identity or a group.
                                id:
                                  type: string
                                  format: uuid
                                  description: >-
                                    The ID of the user, machine identity or
                                    group.
                              required:
                                - type
                                - id
                              additionalProperties: false
                              title: Group
                      required:
                        - id
                        - accessBundleId
                        - createdAt
                        - actor
                      additionalProperties: false
                  skipped:
                    type: array
                    items:
                      anyOf:
                        - type: object
                          properties:
                            type:
                              type: string
                              enum:
                                - user
                              description: >-
                                Whether this member is a user, a machine
                                identity or a group.
                            id:
                              type: string
                              format: uuid
                              description: The ID of the user, machine identity or group.
                          required:
                            - type
                            - id
                          additionalProperties: false
                          title: User
                        - type: object
                          properties:
                            type:
                              type: string
                              enum:
                                - machineIdentity
                              description: >-
                                Whether this member is a user, a machine
                                identity or a group.
                            id:
                              type: string
                              format: uuid
                              description: The ID of the user, machine identity or group.
                          required:
                            - type
                            - id
                          additionalProperties: false
                          title: Machine identity
                        - type: object
                          properties:
                            type:
                              type: string
                              enum:
                                - group
                              description: >-
                                Whether this member is a user, a machine
                                identity or a group.
                            id:
                              type: string
                              format: uuid
                              description: The ID of the user, machine identity or group.
                          required:
                            - type
                            - id
                          additionalProperties: false
                          title: Group
                    description: >-
                      The requested grantees who did not have the access bundle,
                      so nothing was revoked.
                required:
                  - members
                  - skipped
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 400
                  message:
                    type: string
                  error:
                    type: string
                  details: {}
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 401
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 403
                  message:
                    type: string
                  details: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 404
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 422
                  message: {}
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - error
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  reqId:
                    type: string
                  statusCode:
                    type: number
                    enum:
                      - 500
                  message:
                    type: string
                  error:
                    type: string
                required:
                  - reqId
                  - statusCode
                  - message
                  - error
                additionalProperties: false

````