---
title: "DELETE /api/v1/agent-vault/members"
method: DELETE
path: "/api/v1/agent-vault/members"
tags: ["Agent Vault Members"]
---

# DELETE /api/v1/agent-vault/members

`DELETE /api/v1/agent-vault/members`

## Request

- Base URL: `https://us.infisical.com`
- URL: `https://us.infisical.com/api/v1/agent-vault/members`
- Auth: none declared

Remove members from Agent Vault, and with them every bundle they hold

## Request body

- object
  - `userIds` string[]: The IDs of the users to act on.
  - `machineIdentityIds` string[]: The IDs of the machine identities to act on.
  - `groupIds` string[]: The IDs of the groups to act on.

## Response `200`

Default Response

- object
  - `members` union[], required
    - union
      - object
        - `type` 'user', required: Whether this member is a user, a machine identity or a group.
        - `id` string, uuid, required: The ID of the user, machine identity or group.
      - object
        - `type` 'machineIdentity', required: Whether this member is a user, a machine identity or a group.
        - `id` string, uuid, required: The ID of the user, machine identity or group.
      - object
        - `type` 'group', required: Whether this member is a user, a machine identity or a group.
        - `id` string, uuid, required: The ID of the user, machine identity or group.
  - `skipped` union[], required: The requested members who did not have access to Agent Vault, so nothing was removed.
    - union
      - object
        - `type` 'user', required: Whether this member is a user, a machine identity or a group.
        - `id` string, uuid, required: The ID of the user, machine identity or group.
      - object
        - `type` 'machineIdentity', required: Whether this member is a user, a machine identity or a group.
        - `id` string, uuid, required: The ID of the user, machine identity or group.
      - object
        - `type` 'group', required: Whether this member is a user, a machine identity or a group.
        - `id` string, uuid, required: The ID of the user, machine identity or group.

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `422`: Default Response
- `500`: Default Response

## Changes

- **2026-10-13** `0e8b7eae9f94`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/infisical/apis/infisical-api/changes/api/v1/agent-vault/members/delete.md)

---

[API](https://skmtc.dev/infisical/apis/infisical-api.md) - [All operations](https://skmtc.dev/infisical/apis/infisical-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infisical/apis/infisical-api/revisions/7f940199c899?raw)
