---
title: "Crée une exception de disponibilité pour l'utilisateur authentifié."
method: POST
path: "/api/planning/availability-exceptions"
tags: ["Divers"]
---

# Crée une exception de disponibilité pour l'utilisateur authentifié.

`POST /api/planning/availability-exceptions`

## Request

- Base URL: `https://lucidnest.test`
- URL: `https://lucidnest.test/api/planning/availability-exceptions`
- Auth: HTTP bearer

## Request body

- object
  - `type` 'blocked' | 'available', required
  - `start_date` string, required: Must be a valid date in the format <code>Y-m-d</code>.
  - `end_date` string, nullable: Must be a valid date in the format <code>Y-m-d</code>. Must be a date after or equal to <code>start_date</code>.
  - `start_time` string, nullable: Must be a valid date in the format <code>H:i</code>.
  - `end_time` string, nullable: Must be a valid date in the format <code>H:i</code>. Must be a date after <code>start_time</code>.
  - `label` string, nullable: Must not be greater than 191 characters.

---

[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)
