---
title: "Updates a given log request with a new status and url. Called by Caliper when the async log-pull finishes."
method: PUT
path: "/api/v1/admin/log/{id}"
tags: ["Log"]
---

# Updates a given log request with a new status and url. Called by Caliper when the async log-pull finishes.

`PUT /api/v1/admin/log/{id}`

Sample request:
            
    PUT /api/v1/admin/log/{id}
    {
       "status": 2, // Created = 0, Pending = 1, Completed = 2, Error = 3
       "url": "https://cdn.q2developer.com/tests/1cddb57e-2ac8-45e4-a2a4-fcd69fc3cf41.txt",
       "expiration": "2021-08-19T19:30:50.602Z",
       "message": "string"
    }

## Path parameters

- `id` integer, required

## Request body

- ApiLogRequest
  - `status` 0 | 1 | 2 | 3, required
  - `url` string, nullable
  - `expiration` string, date-time, nullable
  - `message` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/q2developer/apis/q2-portal-web-server.md) · [All operations](https://skmtc.dev/q2developer/apis/q2-portal-web-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/q2developer/q2-portal-web-server/revisions/7225eea22612/schema)
