---
title: "PUT /mapping/protocol/{guid}"
method: PUT
path: "/mapping/protocol/{guid}"
tags: ["mapping"]
---

# PUT /mapping/protocol/{guid}

`PUT /mapping/protocol/{guid}`

Update mapping using guid

## Path parameters

- `guid` string, required — guid of mapping

## Request body

- MappingSchema
  - `correlation_mapping` object
  - `create_index` object
  - `create_table` string
  - `fields_mapping` object
  - `fields_settings` object
  - `guid` string
  - `hep_alias` string
  - `hepid` integer
  - `partid` integer
  - `partition_step` integer
  - `profile` string
  - `retention` integer
  - `schema_mapping` object
  - `schema_settings` object
  - `version` integer

## Response `201`

MappingUpdateSuccessResponse

- MappingUpdateSuccessResponse
  - `data` string
  - `message` string

## Other responses

- `400` — FailureResponse

## Changes

> 16 revisions in range; 1 could not be searched.

- **2021-11-03** `8b089db7394c` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-11-03** `31e15898198d` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-19** `2ab28454b40f` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-13** `b1f82f1cf2a3` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-13** `ee397eaefd08` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`

[Full history](https://skmtc.dev/sipcapture/apis/homer-app/changes/mapping/protocol/:guid/put.md)

---

[API](https://skmtc.dev/sipcapture/apis/homer-app.md) · [All operations](https://skmtc.dev/sipcapture/apis/homer-app/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sipcapture/homer-app/revisions/2f261ecc6074/schema)
