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

type'blocked' | 'available' required
start_datestring required

Must be a valid date in the format <code>Y-m-d</code>.

end_datestring 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_timestring nullable

Must be a valid date in the format <code>H:i</code>.

end_timestring nullable

Must be a valid date in the format <code>H:i</code>. Must be a date after <code>start_time</code>.

labelstring nullable

Must not be greater than 191 characters.

Example request

{
  "type": "blocked",
  "start_date": "2026-09-22",
  "end_date": "2052-10-15",
  "start_time": "02:11",
  "end_time": "2052-10-15",
  "label": "n"
}

Changes

No recorded changes to this operation across all 1 revision of this API.