---
title: "Manage Rule Group"
method: POST
path: "/pws/pws_manage_rulegroup/"
tags: ["Rules (Deprecated)"]
deprecated: true
---

# Manage Rule Group

`POST /pws/pws_manage_rulegroup/`

> **Deprecated.**

This web service allows to Link/unlink/view groups to a card.

## Request body

- ManageRuleGroupModel — This web service allows to Link/unlink/view groups for a card.
  - `action` integer, required — <p>action can be</p> <ul> <li class="docBullet">1==&gt;View</li> <li class="docBullet">2==&gt;Link</li> <li class="docBullet">3==&gt;UnLink</li> <li class="docBullet">4==&gt;Link Overriding Previous List</li> <li class="docBullet">5==&gt;Link token with token group</li> <li class="docBullet">6==&gt;UnLink token from token group</li> <li class="docBullet">7==&gt;View token groups</li> </ul>
  - `api_call_unique_identifier` string, required — Unique number that must be passed at each API request. Identifier to make each API request unique
  - `client_id` integer, required — Unique identifier for the client which Paymentology will provide at outset
  - `token` integer, required — public token for card
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request
  - `groups` string — comma separated group Id's. We can get group Id from <a class="external-link" href="#operation/pws_group_list"> list group</a>

## Response `200`

Successful Response

- ManageRuleGroupResponseModel
  - `header` ResponseHeader
    - `error_id` integer — Error Id
    - `error_desc` string — Error Message
  - `body` ManageRuleGroupResponseModelBody[]
    - `group_id` integer — group Id
    - `group_desc` string — group Description
    - `group_name` string — group Name

## Other responses

- `404` — Webservices does not exist
- `500` — Internal Server error

---

[API](https://skmtc.net/paymentology/apis/payapi-docs.md) · [All operations](https://skmtc.net/paymentology/apis/payapi-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymentology/payapi-docs/revisions/a675891b0365/schema)
