---
title: "Updates the details of a single request"
method: PUT
path: "/v1/accounts/{accountSid}/buckets/{bucketSid}/requests/{requestSid}"
tags: ["Requests"]
---

# Updates the details of a single request

`PUT /v1/accounts/{accountSid}/buckets/{bucketSid}/requests/{requestSid}`

## Request

- Base URL: `https://api.apitraffic.io`
- URL: `https://api.apitraffic.io/v1/accounts/{accountSid}/buckets/{bucketSid}/requests/{requestSid}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/docs/v1/accounts/:accountSid/buckets/:bucketSid/requests/:requestSid/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `accountSid` string, required: accountSid
- `bucketSid` string, required: bucketSid
- `requestSid` string, required: requestSids

## Response `200`

Successful

- Model13
  - `sid` string, required: RequestSid
  - `bucketSid` string, required: Sid of the bucket
  - `environmentSid` string, nullable: Sid of the environment
  - `contextSid` string, nullable: Sid of the request context.
  - `direction` 'in' | 'out', required: Denotes if the request was inbound to the API or an outbound reqeust the API sent.
  - `note` string, nullable, required: Any notes that were added to the request.
  - `createdAt` string
  - `receivedAt` string
  - `firewall` Request20Firewall (unresolved $ref)
  - `request` Request
    - `host` string, nullable, required: Host
    - `method` string, nullable, required: HTTP method
    - `path` string, nullable, required: Request path
    - `port` number, nullable: Request port
    - `url` string, nullable, required: The full url
    - `queryString` QueryString
    - `headers` object, required
      - `string` union, required
        - string
        - number
        - String (unresolved $ref)
        - boolean
    - `body` string
    - `contentType` string, nullable, required: The content type of the request.
    - `size` number, nullable, required: The size of the request payload.
  - `response` Response, nullable
    - `statusCode` number, nullable: HTTP status code that was returned by the target server.
    - `headers` object, nullable, required
      - `string` union, required
        - string
        - number
        - String (unresolved $ref)
        - boolean
    - `size` number, nullable, required: The size of the response payload.
    - `body` string
    - `contentType` string, nullable, required: The content type of the response.
  - `timings` Request20Timings (unresolved $ref)
  - `traces` Request20Traces (unresolved $ref)
  - `workflowExecutions` Workflows20that20were20executed20as20a20result20of20this20request (unresolved $ref)
  - `tags` object, nullable, required
    - `string` union, required
      - string
      - number
      - String (unresolved $ref)
      - boolean
  - `capture` boolean
  - `storage` string

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation.md) - [All operations](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/apitraffic/apis/apitraffic-api-documentation/revisions/b2a22a9b5c98?raw)
