---
title: "Applies a job flag to all jobs within the specified group"
method: POST
path: "/v1/jobGroups/{groupId}/jobFlags"
tags: ["Jobs"]
---

# Applies a job flag to all jobs within the specified group

`POST /v1/jobGroups/{groupId}/jobFlags`

Apply a job flag to all jobs within the specified group (required scope jobs:write)

## Path parameters

- `groupId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- CreateEntityFlagModel — Request model for creating a flag on any supported entity type
  - `flagId` integer, required — The unique identifier of the flag to apply
  - `owner` string — User email or ID who owns the flag
  - `comments` string, nullable — Additional context for the flag

## Response `201`

Created

- ApplyJobGroupJobFlagResult — Represents the result of applying a job flag to a job group
  - `groupId` integer — The ID of the job group
  - `jobsFlaggedCount` integer — The number of jobs to which the flag was applied

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/bigchange/apis/bigchange-dx.md) · [All operations](https://skmtc.net/bigchange/apis/bigchange-dx/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bigchange/bigchange-dx/revisions/916e669fc527/schema)
