---
title: "Deactivate a pay calendar by id"
method: POST
path: "/management/v2/pay-calendars/{id}:deactivate"
tags: ["Pay Calendars"]
---

# Deactivate a pay calendar by id

`POST /management/v2/pay-calendars/{id}:deactivate`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/pay-calendars/{id}:deactivate`
- Auth: API key in header `OAuth`

Deactivate a pay calendar by id.

## Path parameters

- `id` string, int64, required

## Response `200`

A successful response.

- PayCalendarsDeactivateResponse
  - `success` boolean
  - `data` 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)
