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

# Mark File Uploaded

> **DEPRECATED**. This request is deprecated. No need to use it to upload a file.

Declare a file as uploaded. Set a file status to complete. If a specified file size does not match to the actual, the actual file size will be set.

#### Path Parameters

<ParamField path="blob_id" type="integer" required>
  ID of the file/blob. Generated automatically by the server after file/blob creation.
</ParamField>

#### Body Params

<ParamField body="blob" type="object" required>
  <Expandable title="properties">
    <ParamField body="size" type="integer" required> Size of the uploaded file/blob in bytes. </ParamField>
  </Expandable>
</ParamField>

#### Headers

<ParamField header="QB-Token" type="string" required> A user or application session token. See [Authentication](/reference/authentication) page to learn more about session tokens. Must be used either QB-Token or Authorization. </ParamField>

#### Responses

<AccordionGroup>
  <Accordion title="200">
    A successful response
  </Accordion>

  <Accordion title="422">
    An error response

    <ResponseField name="errors" type="object">
      <Expandable title="properties">
        <ResponseField name="blob" type="array of strings" />
      </Expandable>
    </ResponseField>
  </Accordion>
</AccordionGroup>

<RequestExample>
  ```bash cURL theme={null}
  curl -X PUT \
  -H "Content-Type: application/json" \
  -H "QB-Token: 2e80acd7f3d9c1e79312e0d1dafd6691ba012bba" \
  -d '{  
    "blob":{  
      "size":"84"
    }
  }' \
  https://api.quickblox.com/blobs/10070416/complete.json
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  Empty body
  ```

  ```json 422 theme={null}
  {
    "errors": {
      "blob": [
        "is not uploaded yet"
      ]
    }
  }
  ```
</ResponseExample>
