---
title: "Add mcc code to group - Idempotent"
method: PATCH
path: "/api/v1/mcc-group/{groupCode}/{mccId}"
tags: ["MccGroup"]
---

# Add mcc code to group - Idempotent

`PATCH /api/v1/mcc-group/{groupCode}/{mccId}`

## Request

- Base URL: `https://cardsapi-uat-pub.globalprocessing.net`
- URL: `https://cardsapi-uat-pub.globalprocessing.net/api/v1/mcc-group/{groupCode}/{mccId}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://uatists.globalprocessing.net/connect/token` scopes: `readWrite`

## Path parameters

- `groupCode` string, required
- `mccId` integer, required

## Request body

- AddMccToGroupRequest: Request class for adding mcc to group
  - `allow` boolean: Allow parameter of mcc code for group

## Response `204`

No Content

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Server Error

## Changes

- **2026-11-03** `a5b5e4fdcf41`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/thredd/apis/core-cards/changes/api/v1/mcc-group/:groupCode/:mccId/patch.md)

---

[API](https://skmtc.dev/thredd/apis/core-cards.md) - [All operations](https://skmtc.dev/thredd/apis/core-cards/llms.txt) - [OpenAPI document](https://skmtc.dev/thredd/apis/core-cards/revisions/a5b5e4fdcf41?raw)
