---
title: "Update Profile Sample"
method: PUT
path: "/profiles/samples/{sample_id}"
---

# Update Profile Sample

`PUT /profiles/samples/{sample_id}`

## Request

- Base URL: `https://api.voicelabs.now` (the document declares no server; this is the origin it was published from)
- URL: `https://api.voicelabs.now/profiles/samples/{sample_id}`
- Auth: none declared

Update a profile sample's reference text.

## Path parameters

- `sample_id` string, required

## Request body

- ProfileSampleUpdate: Request model for updating a profile sample.
  - `reference_text` string, required

## Response `200`

Successful Response

- ProfileSampleResponse: Response model for profile sample.
  - `id` string, required
  - `profile_id` string, required
  - `audio_path` string, required
  - `reference_text` string, required

## Other responses

- `422`: Validation Error

---

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