---
title: "Upload AnchorImage with support for primary and multiple secondary anchors. Use this method to replace primary anchor. To remove a secondary anchor, call DeleteAnchorImage API and then call SaveAnchorImage API to upload the updated anchor. Note that the AnchorId must be unique for new anchor images."
method: POST
path: "/Lesson/SaveAnchorImage"
tags: ["Lesson"]
---

# Upload AnchorImage with support for primary and multiple secondary anchors. Use this method to replace primary anchor. To remove a secondary anchor, call DeleteAnchorImage API and then call SaveAnchorImage API to upload the updated anchor. Note that the AnchorId must be unique for new anchor images.

`POST /Lesson/SaveAnchorImage`

## Headers

- `X-Version` string

## Request body

- AnchorImageDataImport
  - `institutionID` integer, nullable
  - `lessonID` integer, nullable
  - `b64String` string, nullable
  - `anchorID` string, nullable
  - `isPrimaryAnchor` boolean, nullable

## Response `200`

Success

---

[API](https://skmtc.dev/eon-xr/apis/eonxr-api.md) · [All operations](https://skmtc.dev/eon-xr/apis/eonxr-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eon-xr/eonxr-api/revisions/538c75161c64/schema)
