# Update task details

Updates the process status or statistics of a task.

Endpoint: POST /api/v2/cm/branches/{branchId}/tasks/{taskId}/callback
Version: v2.0
Security: OAuth2.0

## Path parameters:

  - `branchId` (string, required)
    The ID of the branch, for example prod.

  - `taskId` (string, required)
    The unique identifier of the task details.

## Request fields (application/json-patch+json):

  - `statistics` (object, required)

  - `statistics.total` (integer)

  - `statistics.processed` (integer)

  - `statistics.succeeded` (integer)

  - `statistics.ignored` (integer)

  - `statistics.failed` (integer)

  - `status` (object, required)

  - `status.state` (string, required)
    Enum: "InProgress", "Completed", "Failed", "Stopped", "Waiting"

  - `status.description` (string,null)

## Response 400 fields (application/json):

  - `type` (string,null)

  - `title` (string,null)

  - `status` (integer,null)

  - `detail` (string,null)

  - `instance` (string,null)


## Response 204 fields

## Response 401 fields

## Response 403 fields

## Response 500 fields
