---
title: "Consent to Agreed Hours for an Employee"
method: POST
path: "/management/v2/agreed_hours/consent/{employeeId}/{version}"
tags: ["Agreed Hour"]
---

# Consent to Agreed Hours for an Employee

`POST /management/v2/agreed_hours/consent/{employeeId}/{version}`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/agreed_hours/consent/{employeeId}/{version}`
- Auth: API key in header `OAuth`

Consent to Agreed Hours for an Employee.

## Path parameters

- `employeeId` string, required
- `version` string, required

## Request body

- AgreedHourConsentRequestData
  - `status` 'UNKNOWN' | 'PENDING' | 'ACCEPTED' | 'DECLINED' | 'FORCED'
  - `comment` string

## Response `200`

A successful response.

- AgreedHourConsentResponse
  - `success` boolean
  - `error` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
