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

# Remove Dispositions from Group

> Remove dispositions from an existing group

## Overview

Remove one or more dispositions from an existing disposition group. This allows you to selectively remove dispositions without affecting the rest of the group.

<Note>
  Removing a disposition from a group does **not** delete the disposition itself. The disposition remains available and can be used in other groups.
</Note>

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication (e.g., `Bearer <your_token>`).
</ParamField>

## Path Parameters

<ParamField path="id" type="string" required>
  The unique identifier of the disposition group
</ParamField>

## Request Body

<ParamField body="dispositions" type="array" required>
  Array of disposition IDs to remove from the group
</ParamField>

## Response

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="message" type="string">
  Response message
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "success": true,
    "message": "Dispositions removed from group successfully"
  }
  ```

  ```json 400 Empty Array theme={null}
  {
    "success": false,
    "message": "dispositions must be a non-empty array"
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "success": false,
    "message": "Disposition group not found"
  }
  ```

  ```json 401 Unauthorized theme={null}
  {
    "success": false,
    "error": "Unauthorized",
    "message": "Missing or invalid authorization header"
  }
  ```

  ```json 403 Forbidden theme={null}
  {
    "success": false,
    "error": "Forbidden",
    "message": "You don't have the required permission to perform this action"
  }
  ```

  ```json 500 Server Error theme={null}
  {
    "success": false,
    "error": "InternalServerError",
    "message": "An unexpected error occurred"
  }
  ```
</ResponseExample>

## Error Codes

| Status | Description                               |
| ------ | ----------------------------------------- |
| `400`  | Empty array or invalid request            |
| `401`  | Unauthorized - Invalid or missing API key |
| `403`  | Forbidden - Missing required permissions  |
| `404`  | Disposition group not found               |
| `500`  | Internal server error                     |
