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

# Stop Task

> Stop a task from running future executions

<RequestExample>
  ```bash theme={null}
  curl --request PUT \
    --url 'http://localhost:2003/api/v1/task/task_123/stop' \
    --header 'x-api-key: <your-api-key>'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true
  }
  ```
</ResponseExample>


## OpenAPI

````yaml PUT /task/{taskId}/stop
openapi: 3.1.0
info:
  title: Browserable API
  description: API for managing automated browser tasks
  version: 1.0.0
servers:
  - url: https://api.browserable.ai/api/v1/
    description: API Server
security:
  - apiKey: []
paths:
  /task/{taskId}/stop:
    put:
      summary: Stop Task
      description: Stop a task from running future executions
      parameters:
        - name: taskId
          in: path
          required: true
          description: The ID of the task to stop
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````