---
title: "PUT /api/exercise/{exerciseCode}/instructions/{localeCode}/{userId}"
method: PUT
path: "/api/exercise/{exerciseCode}/instructions/{localeCode}/{userId}"
tags: ["Exercise"]
---

# PUT /api/exercise/{exerciseCode}/instructions/{localeCode}/{userId}

`PUT /api/exercise/{exerciseCode}/instructions/{localeCode}/{userId}`

## Request

- Base URL: `https://api.justgains.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.justgains.com/api/exercise/{exerciseCode}/instructions/{localeCode}/{userId}`
- Auth: HTTP bearer

## Path parameters

- `exerciseCode` string, required
- `localeCode` string, required
- `userId` string, uuid, required

## Request body

- ExerciseInstructionUpdateRequest
  - `InstructionJSON` ExerciseInstructionData
    - `Time` integer, nullable
    - `Version` string, nullable
    - `Blocks` Block[], nullable
      - `Id` string, nullable
      - `Type` string, nullable
      - `Data` Data
        - `Text` string, nullable

## Response `200`

OK

---

[API](https://skmtc.dev/justgains/apis/justgains-api.md) · [All operations](https://skmtc.dev/justgains/apis/justgains-api/llms.txt) · [OpenAPI document](https://skmtc.dev/justgains/apis/justgains-api/revisions/760a5b1773a7?raw)
