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

# Disable Disposition

> Stop a disposition from running on new calls.

### Overview

<Note>
  Dispositions are enabled per organization. If your organization does not have access, these endpoints return `404`.
</Note>

Sets `state` to `disabled` so the disposition no longer runs on new completed calls. The request takes no body. The draft, version history, and `publishedVersionId` are left untouched, and test runs still work. There is no separate enable call: to turn it back on, [publish](/api-v2/post/agents-id-dispositions-disposition-id-publish) the draft again, which creates a new version and sets `state` to `enabled`.

Requires an admin, owner, operator, or prompter role.

### Headers

<ParamField header="authorization" type="string" required>
  Your API key for authentication.
</ParamField>

### Path Parameters

<ParamField path="agent_id" type="string" required>
  The agent's unique identifier. Must be a UUID; otherwise returns `400` with the message `agentId must be a valid UUID`. Returns `404 Agent not found` if the agent is not in your organization.
</ParamField>

<ParamField path="disposition_id" type="string" required>
  The disposition's unique identifier. Must be a UUID; otherwise returns `400` with the message `dispositionId must be a valid UUID`. Returns `404 Disposition not found` if it does not belong to this agent.
</ParamField>

### Response

<ResponseField name="data" type="object">
  The updated disposition summary.

  <Expandable title="disposition object">
    <ResponseField name="id" type="string">
      Unique identifier for the disposition.
    </ResponseField>

    <ResponseField name="agentId" type="string">
      The agent this disposition belongs to.
    </ResponseField>

    <ResponseField name="key" type="string">
      Stable slug, unique per agent.
    </ResponseField>

    <ResponseField name="state" type="string">
      Always `disabled` after this call.
    </ResponseField>

    <ResponseField name="publishedVersionId" type="string | null">
      Unchanged: the most recently published version, or `null` if never published.
    </ResponseField>

    <ResponseField name="publishedVersionNumber" type="number | null">
      Unchanged.
    </ResponseField>

    <ResponseField name="draftRevision" type="number">
      Unchanged. Disabling is not a draft write.
    </ResponseField>

    <ResponseField name="draftValueCount" type="number">
      Number of values in the current draft definition.
    </ResponseField>

    <ResponseField name="hasUnpublishedChanges" type="boolean">
      `true` when the draft differs from the published version.
    </ResponseField>

    <ResponseField name="name" type="string">
      The draft definition's name.
    </ResponseField>

    <ResponseField name="description" type="string">
      The draft definition's description.
    </ResponseField>

    <ResponseField name="createdAt" type="string">
      ISO 8601 timestamp of creation.
    </ResponseField>

    <ResponseField name="updatedAt" type="string">
      ISO 8601 timestamp of this update.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="errors" type="null | array">
  `null` on success, or a list of error objects if the request failed.
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  {
    "data": {
      "id": "81ac0fe3-ae66-4d43-b388-1e66237c342d",
      "agentId": "dbca575b-2060-40db-ab94-9bf0055db8d0",
      "key": "appointment_outcome",
      "state": "disabled",
      "publishedVersionId": "06fbabaa-668d-4699-9fa6-a798f2627ab7",
      "publishedVersionNumber": 2,
      "draftRevision": 5,
      "draftValueCount": 2,
      "hasUnpublishedChanges": false,
      "name": "Appointment outcome",
      "description": "Did the caller book, and did they ask for a callback?",
      "createdAt": "2026-08-30T15:21:04.118Z",
      "updatedAt": "2026-09-10T19:03:27.640Z"
    },
    "errors": null
  }
  ```

  ```json Not Found theme={null}
  {
    "data": null,
    "errors": [
      {
        "error": "NOT_FOUND",
        "message": "Disposition not found"
      }
    ]
  }
  ```
</ResponseExample>

***

Docs for agents: [llms.txt](/llms.txt)
