---
title: "Modifier une formation"
method: PUT
path: "/api/v1/spaces/{uuid}"
tags: ["Formations"]
---

# Modifier une formation

`PUT /api/v1/spaces/{uuid}`

## Request

- Base URL: `https://lucidnest.test`
- URL: `https://lucidnest.test/api/v1/spaces/{uuid}`
- Auth: HTTP bearer

Met à jour une formation existante.

## Request body

- object
  - `name` string: Le nom.
  - `description` string, nullable: Description.
  - `status` string: Le statut (draft, planned, delivered, archived).
  - `level` string, nullable: Le niveau (beginner, intermediate, advanced).
  - `objectives` object, nullable
  - `target_audience` string, nullable: Must not be greater than 255 characters.
  - `duration_hours` number, nullable: Must be at least 0.

## Response `200`

- object
  - `data` object
    - `uuid` string
    - `name` string

---

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