---
title: "Update a TaskGroupSetup"
method: PUT
path: "/resource/TaskGroupSetup/{id}"
tags: ["TaskGroupSetup"]
---

# Update a TaskGroupSetup

`PUT /resource/TaskGroupSetup/{id}`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api/v1`
- URL: `https://your-subdomain.deputy.deputy.com/api/v1/resource/TaskGroupSetup/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://once.deputy.com/my/oauth/login`
    - Token URL: `https://once.deputy.com/my/oauth/access_token`

## Path parameters

- `id` integer, required

## Request body

- TaskGroupSetup
  - `Id` integer, required
  - `Key` string, required
  - `Name` string, required
  - `Active` boolean, required
  - `Compulsory` boolean
  - `Notification` string
  - `Deadline` number, double
  - `Plugins` string
  - `Oncreate` string
  - `Onsubmit` string
  - `Comment` string
  - `LaborModel` boolean
  - `Creator` integer, required
  - `Created` string, date-time, required
  - `Modified` string, required

## Response `200`

Success

- TaskGroupSetup
  - `Id` integer, required
  - `Key` string, required
  - `Name` string, required
  - `Active` boolean, required
  - `Compulsory` boolean
  - `Notification` string
  - `Deadline` number, double
  - `Plugins` string
  - `Oncreate` string
  - `Onsubmit` string
  - `Comment` string
  - `LaborModel` boolean
  - `Creator` integer, required
  - `Created` string, date-time, required
  - `Modified` string, required

## Other responses

- `400`: Bad request
- `401`: Authentication required or invalid token
- `403`: Forbidden — token lacks access to this resource
- `404`: Resource not found

---

[API](https://skmtc.dev/deputy/apis/deputy-v1-resource-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v1-resource-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v1-resource-api/revisions/5d8e44000786?raw)
