---
title: "Reject absence"
method: POST
path: "/v1/organizations/{orgId}/absences/{id}/reject"
tags: ["Absences"]
---

# Reject absence

`POST /v1/organizations/{orgId}/absences/{id}/reject`

## Request

- Base URL: `https://api.timesheet.io`
- URL: `https://api.timesheet.io/v1/organizations/{orgId}/absences/{id}/reject`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

## Path parameters

- `orgId` string, required
- `id` string, required

## Request body

- AbsenceReasonDto
  - `reason` string

## Response `200`

Absence rejected

- AbsenceDto
  - `id` string
  - `contractId` string
  - `member` Member
    - `uid` string
    - `firstname` string
    - `lastname` string
    - `email` string
    - `employeeId` string
    - `imageUrl` string
    - `deleted` boolean
    - `activity` Activity
      - `projectId` string
      - `projectTitle` string
      - `projectColor` integer
      - `taskId` string
      - `startDateTime` string
      - `endDateTime` string
      - `location` string
      - `running` boolean
    - `displayName` string
    - `initials` string
  - `absenceTypeId` string
  - `absenceType` AbsenceTypeDto
    - `id` string
    - `organizationId` string
    - `code` string
    - `i18nKey` string
    - `name` string
    - `descriptionI18nKey` string
    - `description` string
    - `color` integer
    - `icon` string
    - `paid` boolean
    - `requiresApproval` boolean
    - `requiresDocumentation` boolean
    - `documentationRequiredAfterDays` integer
    - `affectsOvertime` boolean
    - `deductsFromQuota` boolean
    - `maxConsecutiveDays` integer
    - `minNoticeDays` integer
    - `countryCode` string
    - `systemType` boolean
    - `active` boolean
    - `sortOrder` integer
    - `lastUpdate` integer
    - `created` integer
  - `startDateTime` string
  - `endDateTime` string
  - `fullDay` boolean
  - `totalDays` string, decimal
  - `totalHours` string, decimal
  - `reason` string
  - `documentationUrl` string
  - `fileName` string
  - `fileUri` string
  - `status` string
  - `requestedAt` integer
  - `requestedBy` string
  - `requestedByMember` Member
    - `uid` string
    - `firstname` string
    - `lastname` string
    - `email` string
    - `employeeId` string
    - `imageUrl` string
    - `deleted` boolean
    - `activity` Activity
      - `projectId` string
      - `projectTitle` string
      - `projectColor` integer
      - `taskId` string
      - `startDateTime` string
      - `endDateTime` string
      - `location` string
      - `running` boolean
    - `displayName` string
    - `initials` string
  - `approvedBy` string
  - `approvedAt` integer
  - `rejectionReason` string
  - `cancelledAt` integer
  - `cancelledBy` string
  - `cancellationReason` string
  - `canApprove` boolean
  - `canReject` boolean
  - `canCancel` boolean
  - `canEdit` boolean
  - `documentationStatus` string
  - `documentationDueDate` string
  - `lastUpdate` integer
  - `created` integer

## Other responses

- `400`: Bad request
- `401`: Not authorized

---

[API](https://skmtc.dev/timesheet/apis/timesheet-api.md) - [All operations](https://skmtc.dev/timesheet/apis/timesheet-api/llms.txt) - [OpenAPI document](https://skmtc.dev/timesheet/apis/timesheet-api/revisions/2f6595c95dc4?raw)
