Skip to main content
DELETE
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The unique identifier (UUID v4) of the vacation calendar from which days off will be deleted.

Requirements:

  • Must be a valid UUID v4 format
  • The calendar must exist in the system
  • The authenticated user must have permission to modify this calendar

Body

application/json

Request body containing the array of day off IDs to be deleted from the vacation calendar.

Note: All day off IDs must belong to the vacation calendar specified in the path parameter.

dayOffIds
string<uuid>[]
required

Array of day off UUIDs to remove from the vacation calendar.

Validation Rules:

  • Must be an array (can be empty)
  • Each element must be a valid UUID v4 string
  • Each UUID must correspond to an existing day off in the system
  • Each day off must belong to the vacation calendar specified in the path parameter

Behavior:

  • Empty arrays are allowed and result in no changes
  • Order of IDs does not affect the operation

Unique identifier (UUID v4) of the day off to delete

Example:

Response

Object

data
string
Example:

""

meta
object